(function(window, self, global, location) {
      (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-a372dfd2"],{

/***/ "026d":
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__.p + "img/calenda.753c1430.png";

/***/ }),

/***/ "065f":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_footerBar_vue_vue_type_style_index_0_id_0a3b965e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5187");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_footerBar_vue_vue_type_style_index_0_id_0a3b965e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_footerBar_vue_vue_type_style_index_0_id_0a3b965e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "0965":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_noData_vue_vue_type_style_index_0_id_d74e3bdc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ad1d");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_noData_vue_vue_type_style_index_0_id_d74e3bdc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_noData_vue_vue_type_style_index_0_id_d74e3bdc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "096a":
/***/ (function(module, exports) {

module.exports = ""

/***/ }),

/***/ "0b38":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "126d":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "131a":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var setPrototypeOf = __webpack_require__("d2bb");

// `Object.setPrototypeOf` method
// https://tc39.es/ecma262/#sec-object.setprototypeof
$({ target: 'Object', stat: true }, {
  setPrototypeOf: setPrototypeOf
});


/***/ }),

/***/ "1634":
/***/ (function(module, exports) {

module.exports = ""

/***/ }),

/***/ "32c0":
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__.p + "img/carTrai.f986f007.png";

/***/ }),

/***/ "4052":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "449f":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_person_vue_vue_type_style_index_0_id_72099da8_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0b38");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_person_vue_vue_type_style_index_0_id_72099da8_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_person_vue_vue_type_style_index_0_id_72099da8_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "4590":
/***/ (function(module, exports) {

module.exports = ""

/***/ }),

/***/ "46ff":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "4817":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/index.vue?vue&type=template&id=54fe31f4&scoped=true
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.mapCurrentData.classType === 1)?_c('person',{attrs:{"currentProject":_vm.currentProject,"mapCurrentData":_vm.mapCurrentData},on:{"close":_vm.closePage}}):_c('car',{attrs:{"currentProject":_vm.currentProject,"mapCurrentData":_vm.mapCurrentData},on:{"close":_vm.closePage}})],1)
}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/pages/trajectoryMap/index.vue?vue&type=template&id=54fe31f4&scoped=true

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/car.vue?vue&type=template&id=8d709ac6&scoped=true
var carvue_type_template_id_8d709ac6_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:(_vm.fullscreenLoading),expression:"fullscreenLoading",modifiers:{"fullscreen":true,"lock":true}}],staticClass:"trajectoryMapBody",class:{ 'screen-shot': _vm.isShowScreen }},[_c('headerBar',{attrs:{"mapCurrentData":_vm.mapCurrentData},on:{"close":_vm.closePage},scopedSlots:_vm._u([{key:"title",fn:function(){return [_c('span',[_vm._v(_vm._s(_vm.mapCurrentData.licensePlateNumber))]),_c('span',[_vm._v(_vm._s(_vm.mapCurrentData.type))])]},proxy:true}])}),_c('div',{attrs:{"id":"trajectoryMapContainer"}}),_c('footerBar',{attrs:{"duration":_vm.duration,"navgStatus":_vm.navgStatus,"currentProject":_vm.currentProject,"mapCurrentData":_vm.mapCurrentData},on:{"update:duration":function($event){_vm.duration=$event},"timeChange":_vm.selectionDateChange,"durationChange":_vm.durationChange,"start":_vm.play,"stop":_vm.stopMove},scopedSlots:_vm._u([{key:"time-select",fn:function(){return [_c('time-selector',{staticStyle:{"width":"85%"},attrs:{"geo":_vm.path,"position":_vm.timeSliderPosition,"selectedDate":_vm.currentDate,"incidentList":_vm.incidentList,"is-format-tooltip":""},on:{"timeStampChange":_vm.onTimeStampChange}})]},proxy:true}]),model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}}),_c('div',{staticClass:"check-detail-btn",class:{ active: _vm.isShowRight },on:{"click":function($event){_vm.isShowRight = !_vm.isShowRight}}},[_vm._v("\n    "+_vm._s(_vm.isShowRight ? '关闭详情' : '查看详情')+"\n  ")]),(_vm.isShowRight)?_c('rightDetails',{attrs:{"originData":_vm.originDetailData,"mapCurrentData":_vm.mapCurrentData},on:{"itemClick":_vm.onDetailClick}}):_vm._e(),_c('layer-card',{on:{"change":_vm.handleLayerChange}}),_c('div',{ref:"markerContent",staticClass:"custom-content-marker"},[_c('img',{attrs:{"src":__webpack_require__("4fad0")}}),_c('div',{staticClass:"close-btn",on:{"click":_vm.clearMarker}},[_vm._v("X")])])],1)
}
var carvue_type_template_id_8d709ac6_scoped_true_staticRenderFns = []


// CONCATENATED MODULE: ./src/pages/trajectoryMap/car.vue?vue&type=template&id=8d709ac6&scoped=true

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__("5530");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__("c7eb");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__("1da1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
var es_array_filter = __webpack_require__("4de4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
var es_array_flat = __webpack_require__("0481");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
var es_array_includes = __webpack_require__("caad");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js
var es_array_join = __webpack_require__("a15b");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
var es_array_map = __webpack_require__("d81d");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
var es_array_push = __webpack_require__("14d9");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat.js
var es_array_unscopables_flat = __webpack_require__("4069");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
var es_iterator_constructor = __webpack_require__("e9f5");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
var es_iterator_filter = __webpack_require__("910d");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
var es_iterator_for_each = __webpack_require__("7d54");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
var es_iterator_map = __webpack_require__("ab43");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
var es_object_keys = __webpack_require__("b64b");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
var es_regexp_exec = __webpack_require__("ac1f");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
var es_string_includes = __webpack_require__("2532");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
var es_string_replace = __webpack_require__("5319");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
var es_string_trim = __webpack_require__("498a");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
var web_dom_collections_for_each = __webpack_require__("159b");

// EXTERNAL MODULE: ./node_modules/axios/index.js
var axios = __webpack_require__("bc3a");
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);

// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
var dayjs_min = __webpack_require__("5a0c");
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);

// EXTERNAL MODULE: ./src/axios/request.js
var request = __webpack_require__("28de");

// EXTERNAL MODULE: ./src/axios/dispatchRequest.js
var dispatchRequest = __webpack_require__("4c80");

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/timeSelector.vue?vue&type=template&id=7cd052b4&scoped=true
var timeSelectorvue_type_template_id_7cd052b4_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"_timeSelectorBox _w-100"},[_c('el-slider',{staticClass:"_w-100",attrs:{"max":_vm.timeSelectorLength,"min":0,"marks":_vm.traceLineDot,"show-tooltip":_vm.isFormatTooltip,"step":60,"tooltip-class":"time-selector-tooltip__wrapper","format-tooltip":_vm.formatTooltip},on:{"change":_vm.timeChange},model:{value:(_vm.selectValue),callback:function ($$v) {_vm.selectValue=$$v},expression:"selectValue"}}),_c('div',{attrs:{"id":"_timeSlider"}},_vm._l((_vm.markersOptionsArr),function(item,index){return _c('div',{key:index,staticClass:"_timeDot",style:({
        width: `${_vm.timeSliderWith / 12}px`
      })},[_c('span',{staticClass:"_timeDotItem _timeDotItem_right_5",style:({
          borderLeft: index === 0 ? '1px solid #D9D9D9' : ''
        })},[_c('span',{staticClass:"_timeDotItem_flotLeft"},[_vm._v("\n          "+_vm._s(item.timeString)+"\n        ")])]),_c('span',{staticClass:"_timeDotItem _timeDotItem_right_7"},[(index === _vm.markersOptionsArr.length - 1)?_c('span',{staticClass:"_hours_24"},[_vm._v("\n          23:59\n        ")]):_vm._e()])])}),0)],1)
}
var timeSelectorvue_type_template_id_7cd052b4_scoped_true_staticRenderFns = []


// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/timeSelector.vue?vue&type=template&id=7cd052b4&scoped=true

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
var es_array_find_index = __webpack_require__("c740");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
var es_array_sort = __webpack_require__("4e82");

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/timeSelector.vue?vue&type=script&lang=js










window.dayjs = dayjs_min_default.a;
/* harmony default export */ var timeSelectorvue_type_script_lang_js = ({
  name: 'timeSelector',
  data: function data() {
    return {
      style_baseColor: '#FF873D',
      style_extraColor: 'rgb(248 178 135 / 40%)',
      style_grey45: 'rgba(0, 0, 0, 0.45)',
      selectValue: 0,
      // 当前定位在时间轴的皮偏移量
      currentDate: 0,
      // 默认的时间
      timeLength: 24,
      datePickerOptions: {
        // 轨迹日期只能选择最近一个月
        disabledDate: function disabledDate(time) {
          return time.getTime() > Date.now() - 60 * 24 || time.getTime() < Date.now() - 60 * 24 * 30 * 60 * 1000;
        }
      },
      timeSelectorLength: 24 * 60 * 60
    };
  },
  props: {
    isFormatTooltip: {
      // 是否展示滑块的tooltip信息
      type: Boolean,
      default: false
    },
    geo: {
      // 定位数据集
      type: Array,
      default: function _default() {
        return [];
      }
    },
    workflow: {
      // 排班信息
      type: Array,
      default: function _default() {
        return [];
      }
    },
    incidentList: {
      // 告警信息
      type: Array,
      default: function _default() {
        return [];
      }
    },
    selectedDate: {
      // 当前选中的日期
      type: [Date, Object],
      default: new Date()
    },
    position: {
      // 设置时间轴上的具体位置
      type: Object,
      default: function _default() {
        return {
          second: 0
        };
      }
    }
  },
  computed: {
    // 计算密集关系
    traceLineDot: function traceLineDot() {
      var _this = this;
      var marker = {};
      // 轨迹是否在工作时间内
      var workflowDotStyle = {
        color: this.style_grey45,
        display: 'inline-block',
        width: '5em',
        position: 'absolute',
        top: '-35px',
        fontSize: '10px',
        left: '-2em',
        fontWeight: '400',
        transform: 'scale(0.9)'
      };
      var afterSplitEleStyle = {
        position: 'absolute',
        left: '40%',
        bottom: '-34px',
        height: '20px',
        display: 'inline-block',
        zIndex: 3,
        width: '1px',
        background: this.style_grey45
      };
      this.geo.forEach(function (item, index) {
        // 此处需要加上判断， 当前的点是不是在排班时间点之前
        marker[item.second] = {
          style: {
            background: _this.style_baseColor
          }
        };
        // 存在排班表的华，处理排班表,覆盖默认内容
        _this.workflow.forEach(function (work, index) {
          // 假如不存在下一个排班时间，或者在下一个排班时间之前，则轨迹状态为invalid
          if (
          // 只有一个排班，并且时间大于第一个排班的结束时间，则为invalid
          _this.workflow.length === 1 && item.second > _this.workflow[0].end ||
          // 时间小于第一个排班的开始时间，则为invalid
          item.second < _this.workflow[0].start ||
          // 时间大于上一个排班的结束时间并且时间小于下个一个排班的开始时间，则为invalid
          _this.workflow[index - 1] && item.second > _this.workflow[index - 1].end && item.second < work.start ||
          // 不存在下一个排班信息并且当前的时间大于排班的结束时间
          !_this.workflow[index + 1] && item.second > work.end) {
            marker[item.second] = {
              style: {
                background: _this.style_extraColor
              }
            };
          }
        });
      });
      // 假如排班信息和定位有完全重合的时间， 显示的dot默认为排班时间覆盖
      this.workflow.forEach(function (work) {
        marker[work.start] = {
          'data-extra': 'nodd',
          label: _this.$createElement('span', {
            style: workflowDotStyle
          }, [work.startText, _this.$createElement('span', {
            style: afterSplitEleStyle
          }, '')])
        };
        marker[work.end] = {
          label: _this.$createElement('span', {
            style: workflowDotStyle
          }, [work.endText, _this.$createElement('span', {
            style: afterSplitEleStyle
          }, '')])
        };
      });
      // 告警需变色
      var start = dayjs_min_default()(this.selectedDate).startOf('day').unix(); // 今天开始的秒
      this.incidentList.forEach(function (incident) {
        var curSecond = dayjs_min_default()(incident.warnTime).unix(); // 告警时间的秒
        var diff = curSecond - start;
        marker[diff] = {
          style: {
            background: '#C60002'
            // width: '4px'
          }
        };
      });
      return marker;
    },
    timeSliderWith: function timeSliderWith() {
      var Dom = document.getElementById('timeSlider');
      return Dom ? Dom.offsetWidth : 1049;
    },
    markersOptionsArr: function markersOptionsArr() {
      var _this2 = this;
      return Object.keys(this.markersOptions).map(function (item) {
        return _this2.markersOptions[item];
      }).sort(function (a, b) {
        return a.value - b.value > 0 ? 1 : -1;
      });
    },
    markersOptions: function markersOptions() {
      var baseItem = {};
      for (var index = 0; index < 12; index++) {
        var value = index * 58.3333;
        var baseIndex = index * 2;
        var tagName = "".concat(baseIndex, ":00");
        if (baseIndex < 10) {
          tagName = "0".concat(baseIndex, ":00");
        }
        baseItem["".concat(value)] = {
          value: value,
          timeString: tagName,
          style: {},
          label: this.$createElement('strong', tagName)
        };
      }
      return Object.assign({}, this.markers, baseItem);
    }
  },
  watch: {
    position: {
      handler: function handler(newPosition) {
        if (newPosition && newPosition.second) {
          // 默认当天时基础时间为GEO 定位数据第一条的基准时间
          this.currentDate = dayjs_min_default()(newPosition.trackTime).startOf('day');
          // 如果父组件没有给偏移量， 则默认为0
          this.selectValue = newPosition.second || 0;
        } else {
          console.warn('props: position <{}> should not be null or undefined!');
        }
      },
      immediate: true,
      deep: true
    }
  },
  methods: {
    // 释放时选择的时间
    timeChange: function timeChange(val) {
      var start = dayjs_min_default()(new Date(this.currentDate)).startOf('day').unix() * 1000;
      var selectDate = dayjs_min_default()(start + val * 1000);
      var target = this.findClosestNumber(val, this.geo.map(function (item) {
        return item.second;
      }));
      // 重新赋值--限制选择范围外的点
      this.selectValue = target;
      var idx = this.geo.findIndex(function (item) {
        return item.second === target;
      });
      this.$emit('timeStampChange', {
        idx: idx,
        second: val,
        fullDate: selectDate,
        startOfDay: start
      });
    },
    // 查询数组中与目标最接近的数字
    findClosestNumber: function findClosestNumber(target, arr) {
      var closest = arr[0] || 0;
      var minDiff = Math.abs(target - closest);
      for (var i = 1; i < arr.length; i++) {
        var diff = Math.abs(target - arr[i]);
        if (diff < minDiff) {
          minDiff = diff;
          closest = arr[i];
        }
      }
      return closest;
    },
    /**
     * 为了性能考虑（海量geo场景下）， 暂时不对拖拽过程中的每个定位相应
     * 只提供拖拽结束时对应的选择
     * 如需开启请在组件中添加事件：@input="everyTimeChange"
     * 开启后需要控制入参，否则父子互相传值会陷入死循环
     * **/
    everyTimeChange: function everyTimeChange(val) {
      // this.timeChange(val);
    },
    // 格式化时间轴当前选择的具体时间，后续可以改为配置化
    formatTooltip: function formatTooltip(val) {
      if (!this.currentDate) {
        return '-';
      }
      var start = dayjs_min_default()(new Date(this.currentDate)).startOf('day').unix() * 1000;
      return dayjs_min_default()(start + val * 1000).format('YYYY-MM-DD HH:mm:ss');
    }
  }
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/timeSelector.vue?vue&type=script&lang=js
 /* harmony default export */ var components_timeSelectorvue_type_script_lang_js = (timeSelectorvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/trajectoryMap/components/timeSelector.vue?vue&type=style&index=0&id=7cd052b4&prod&lang=less&scoped=true
var timeSelectorvue_type_style_index_0_id_7cd052b4_prod_lang_less_scoped_true = __webpack_require__("5cd1");

// EXTERNAL MODULE: ./src/pages/trajectoryMap/components/timeSelector.vue?vue&type=style&index=1&id=7cd052b4&prod&lang=css
var timeSelectorvue_type_style_index_1_id_7cd052b4_prod_lang_css = __webpack_require__("5895");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/timeSelector.vue







/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_timeSelectorvue_type_script_lang_js,
  timeSelectorvue_type_template_id_7cd052b4_scoped_true_render,
  timeSelectorvue_type_template_id_7cd052b4_scoped_true_staticRenderFns,
  false,
  null,
  "7cd052b4",
  null
  
)

/* harmony default export */ var timeSelector = (component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/layerCard.vue?vue&type=template&id=06a70b02&scoped=true
var layerCardvue_type_template_id_06a70b02_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"float-layer"},[_c('el-button',{staticClass:"layer-op-btn",on:{"click":_vm.clickLayerOp}},[_c('img',{staticStyle:{"width":"20px","height":"20px","margin-right":"12px"},attrs:{"src":__webpack_require__("096a")}}),_c('span',{staticStyle:{"font-size":"16px"}},[_vm._v("图层")])]),(_vm.isShowSelectFrame)?_c('div',{staticClass:"float-layer-frame"},[_c('span',[_vm._v("路线")]),_c('el-checkbox-group',{staticClass:"layer-card-group",on:{"change":_vm.handleChange},model:{value:(_vm.curChecked),callback:function ($$v) {_vm.curChecked=$$v},expression:"curChecked"}},[_c('el-checkbox',{attrs:{"label":"plan"}},[_c('div',{staticClass:"line-wrapper"},[_c('div',{staticClass:"line-block plan"}),_c('span',[_vm._v("计划路线")])])]),_c('el-checkbox',{attrs:{"label":"drive"}},[_c('div',{staticClass:"line-wrapper"},[_c('div',{staticClass:"line-block drive"}),_c('span',[_vm._v(_vm._s(_vm.source === 'person' ? '作业路线' : '行驶路线'))])])])],1),_c('span',{staticStyle:{"margin-top":"24px"}},[_vm._v("范围")]),_c('el-checkbox-group',{staticClass:"layer-card-group",on:{"change":_vm.handleChange},model:{value:(_vm.curChecked),callback:function ($$v) {_vm.curChecked=$$v},expression:"curChecked"}},[_c('el-checkbox',{attrs:{"label":"range"}},[_c('div',{staticClass:"rectangle-wrapper"},[_c('div',{staticClass:"rectangle-block"}),_c('span',[_vm._v("电子围栏范围")])])])],1)],1):_vm._e()],1)
}
var layerCardvue_type_template_id_06a70b02_scoped_true_staticRenderFns = []


// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/layerCard.vue?vue&type=template&id=06a70b02&scoped=true

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/layerCard.vue?vue&type=script&lang=js
/* harmony default export */ var layerCardvue_type_script_lang_js = ({
  name: 'layer-card',
  props: {
    source: {
      type: String
    }
  },
  data: function data() {
    return {
      curChecked: ['plan', 'drive', 'range'],
      isShowSelectFrame: false,
      layerIcon: __webpack_require__("5936")
    };
  },
  methods: {
    handleChange: function handleChange(val) {
      this.$emit('change', val);
    },
    clickLayerOp: function clickLayerOp() {
      this.isShowSelectFrame = !this.isShowSelectFrame;
    }
  }
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/layerCard.vue?vue&type=script&lang=js
 /* harmony default export */ var components_layerCardvue_type_script_lang_js = (layerCardvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/trajectoryMap/components/layerCard.vue?vue&type=style&index=0&id=06a70b02&prod&lang=less&scoped=true
var layerCardvue_type_style_index_0_id_06a70b02_prod_lang_less_scoped_true = __webpack_require__("7d17");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/layerCard.vue






/* normalize component */

var layerCard_component = Object(componentNormalizer["a" /* default */])(
  components_layerCardvue_type_script_lang_js,
  layerCardvue_type_template_id_06a70b02_scoped_true_render,
  layerCardvue_type_template_id_06a70b02_scoped_true_staticRenderFns,
  false,
  null,
  "06a70b02",
  null
  
)

/* harmony default export */ var layerCard = (layerCard_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/rightDetails.vue?vue&type=template&id=7960a261&scoped=true
var rightDetailsvue_type_template_id_7960a261_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"rightDetails"},[_c('section',{staticClass:"dialogHeader"},[_vm._m(0),_c('div',{staticClass:"d-flex a-center",staticStyle:{"float":"right","margin-top":"18px","margin-right":"20px"}},[_c('span',{staticStyle:{"margin-right":"5px"}},[_vm._v("聚合")]),_c('el-switch',{attrs:{"size":"small"},model:{value:(_vm.isPolymerize),callback:function ($$v) {_vm.isPolymerize=$$v},expression:"isPolymerize"}})],1)]),(!_vm.isPolymerize)?[(_vm.currentPageList.length)?_c('ul',{staticClass:"pDetail"},_vm._l((_vm.currentPageList),function(item,index){return _c('li',{key:index,class:{ pDetail__active: index === _vm.activeIndex },on:{"click":function($event){return _vm.onDetailClick(item, index)}}},[_vm._m(1,true),_c('div',{staticClass:"spotTime"},[_c('p',[_vm._v(_vm._s(item.time))])]),_c('div',{staticClass:"spotInfo"},[_c('div',[_c('i',{staticClass:"font_family icon-shiquzuobiao3x"}),_vm._v("经纬度："+_vm._s(`${item.point.lng} ${item.point.lat}`)+"\n          ")]),(_vm.mapCurrentData.classType === 1)?_c('div',{class:{
              blue: item.source === 'GPS' || item.source === 'BT',
              green: item.source === 'ZFY'
            }},[_c('i',{staticClass:"font_family icon-sheshishebei3x"}),_vm._v("设备类型："+_vm._s(`${item.sourceLabel || '未识别'}`)+"\n            "+_vm._s(item.source === 'BT' && item.labelId
                ? `（${item.labelId}）`
                : '')+"\n            "),_c('span',{staticStyle:{"font-size":"12px","font-weight":"bold","margin-left":"3px"}},[_vm._v(_vm._s(item.speed + 'm/s'))]),_c('div',{staticClass:"battery-info",class:{ 'low-power': item.devicePower < 20 }},[_c('div',{staticClass:"battery"},[_c('div',{staticClass:"battery-level",style:({ width: (item.devicePower || 0) + '%' })})]),_c('label',[_vm._v(_vm._s(parseInt(item.devicePower) >= 0 ? item.devicePower : '-')+"%")])])]):_vm._e(),_c('div',[_c('i',{staticClass:"font_family icon-yuanquweizhi3x"}),_vm._v(_vm._s(_vm.addressArr[index])+"\n          ")]),(_vm.mapCurrentData.classType === 1)?_c('div',[_c('i',{staticClass:"font_family icon-13x"}),_vm._v("工单数量："+_vm._s(item.issueNum || 0)+"\n          ")]):_vm._e(),(_vm.mapCurrentData.classType === 3)?_c('div',[_c('span',{staticClass:"star-icon"},[_vm._v("★")]),_c('span',[_vm._v("速度："+_vm._s(item.point.speed || 0)+"km/h")]),_vm._v("  \n            "),_c('span',[_vm._v("今日行驶："+_vm._s(_vm._f("formatMileage")(item.odometer))+"km")])]):_vm._e()])])}),0):_c('no-data',{staticStyle:{"position":"relative","top":"20%"},attrs:{"text":"暂无数据"}})]:[(_vm.currentPageList.length)?_c('div',{staticClass:"right-body"},_vm._l((_vm.currentPageList),function(item,index){return _c('div',{key:index,staticClass:"right-item",class:{ 'right-item--active': index === _vm.activeIndex },on:{"click":function($event){return _vm.onDetailClick(item, index)}}},[_c('div',{staticClass:"right-item__header"},[_c('span',[_vm._v(_vm._s(item.timeFrontStr))]),(_vm.mapCurrentData.classType === 1)?[_c('div',{staticClass:"battery-info",class:{ 'low-power': item.devicePower < 20 }},[_c('label',[_vm._v(_vm._s(parseInt(item.devicePower) >= 0 ? item.devicePower : '-')+"%")]),_c('div',{staticClass:"battery"},[_c('div',{staticClass:"battery-level",style:({ width: (item.devicePower || 0) + '%' })})])])]:[_c('span',{staticClass:"right-item__addr"},[_vm._v(_vm._s(item.speed || 0)+"km/h")])]],2),_c('div',{staticClass:"right-item__addr"},[_vm._v(_vm._s(_vm.addressArr[index]))])])}),0):_c('no-data',{staticStyle:{"position":"relative","top":"20%"},attrs:{"text":"暂无数据"}})],_c('section',{staticClass:"pagination"},[(_vm.pages.total)?_c('el-pagination',{attrs:{"pager-count":5,"current-page":_vm.pages.currentPage,"page-sizes":[5, 10, 20, 50],"page-size":_vm.pages.pageSize,"layout":"pager, jumper","total":_vm.pages.total},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}}):_vm._e()],1)],2)
}
var rightDetailsvue_type_template_id_7960a261_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('h2',{staticClass:"dialogTit"},[_c('span',[_vm._v("点位明细")])])
},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"step"},[_c('div',{staticClass:"circle"}),_c('div',{staticClass:"line"})])
}]


// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/rightDetails.vue?vue&type=template&id=7960a261&scoped=true

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
var es_array_find = __webpack_require__("7db0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.slice.js
var es_array_slice = __webpack_require__("fb6a");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.find.js
var es_iterator_find = __webpack_require__("f665");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.freeze.js
var es_object_freeze = __webpack_require__("dca8");

// EXTERNAL MODULE: ./src/pages/home2/components/noData.vue + 4 modules
var noData = __webpack_require__("92cf");

// EXTERNAL MODULE: ./src/utils/number-precision.js
var number_precision = __webpack_require__("ff53");

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/rightDetails.vue?vue&type=script&lang=js














var MAX_SIZE_1 = 15; // 聚合状态pageSize
var MAX_SIZE_2 = 5; // 普通状态pageSize

var startMileage = 0; // 第一个表显里程

/* harmony default export */ var rightDetailsvue_type_script_lang_js = ({
  props: {
    value: {
      type: [Boolean],
      default: false
    },
    originData: {
      type: [Array],
      default: function _default() {
        return [];
      }
    },
    mapCurrentData: {
      type: [Object],
      default: null
    }
  },
  components: {
    noData: noData["a" /* default */]
  },
  data: function data() {
    return {
      activeIndex: '',
      isPolymerize: false,
      // 是否聚合，默认不聚合
      currentPageList: [],
      curOrigin: [],
      // 当前全量数组
      noDuplicates: [],
      // 清理相邻元素后的数组
      addressArr: [],
      pages: {
        currentPage: 1,
        pageSize: MAX_SIZE_1,
        total: 0
      }
    };
  },
  watch: {
    currentPageList: {
      handler: function handler(val) {
        this.getLocationByPoint(val);
      },
      immediate: true,
      deep: true
    },
    isPolymerize: function isPolymerize() {
      this.initPage();
    },
    originData: function originData() {
      this.initPage();
    }
  },
  filters: {
    formatMileage: function formatMileage(value) {
      if (value) {
        return number_precision["a" /* default */].minus(parseFloat(value), startMileage);
      }
      return '-';
    }
  },
  created: function created() {
    this.initPage();
  },
  methods: {
    // 查相邻的两个元素坐标是否相同。如果相同，则保留后面的元素
    removeDuplicates: function removeDuplicates(arr) {
      var result = [];
      var startTime = null;
      for (var i = 0; i < arr.length - 1; i++) {
        var cur = arr[i].point;
        var next = arr[i + 1].point;
        var curTime = this.dateSlice(arr[i].time); // 时分
        // 经纬度不同则放入数组，否则丢弃
        if (cur.lat !== next.lat || cur.lng !== next.lng) {
          // 有重复元素--时间拼接
          if (startTime !== null) {
            // 纯前端拼接字段
            arr[i].timeFrontStr = startTime === curTime ? curTime : "".concat(startTime, " - ").concat(curTime);
            startTime = null;
          } else {
            // 没有重复元素
            arr[i].timeFrontStr = curTime;
          }
          result.push(arr[i]);
        } else {
          if (startTime === null) {
            startTime = curTime;
          }
        }
      }
      if (arr[arr.length - 1]) {
        // 添加最后一个元素
        var _curTime = this.dateSlice(arr[arr.length - 1].time); // 时分
        arr[arr.length - 1].timeFrontStr = startTime ? "".concat(startTime, " - ").concat(_curTime) : _curTime;
        result.push(arr[arr.length - 1]);
      }
      return result;
    },
    // 查相邻的两个元素时分是否相同。如果相同，则保留后面的元素
    removeDuplicatesForTime: function removeDuplicatesForTime(arr) {
      var result = [];
      for (var i = 0; i < arr.length - 1; i++) {
        var curTime = this.dateSlice(arr[i].time); // 时分
        var nextTime = this.dateSlice(arr[i + 1].time); // 时分
        if (curTime !== nextTime) {
          result.push(arr[i]);
        }
      }
      if (arr[arr.length - 1]) {
        // 添加最后一个元素
        result.push(arr[arr.length - 1]);
      }
      return result;
    },
    dateSlice: function dateSlice(date) {
      return date ? date.substring(0, 5) : '';
    },
    onDetailClick: function onDetailClick(item, index) {
      this.activeIndex = index;
      this.$emit('itemClick', item, index);
    },
    initPage: function initPage() {
      this.noDuplicates = Object.freeze(this.removeDuplicates(this.originData));
      // 获取首个odometer有值的项
      var haveOdometerItem = this.originData.find(function (item) {
        return parseFloat(item.odometer);
      });
      startMileage = haveOdometerItem ? parseFloat(haveOdometerItem.odometer) : 0;
      this.curOrigin = this.isPolymerize ? this.noDuplicates : this.originData;
      this.pages.pageSize = this.isPolymerize ? MAX_SIZE_1 : MAX_SIZE_2;
      this.pages.total = this.curOrigin.length;
      this.getCurrentDetailList(1);
    },
    getCurrentDetailList: function getCurrentDetailList(scroll) {
      this.currentPageList = [];
      if (scroll < 1) {
        this.pages.currentPage = 1;
      } else if (scroll > Math.ceil(this.pages.total / this.pages.pageSize)) {
        this.pages.currentPage = Math.ceil(this.pages.total / this.pages.pageSize);
      } else {
        this.pages.currentPage = scroll;
      }
      var star = (this.pages.currentPage - 1) * this.pages.pageSize;
      this.currentPageList = this.curOrigin.slice(star, star + this.pages.pageSize);
    },
    getLocationByPoint: function getLocationByPoint(arr) {
      this.addressArr = [];
      var _this = this;
      arr.forEach(function (item, index) {
        var point = item.point;
        var myGeo = new window.AMap.Geocoder();
        myGeo.getAddress([point.lng, point.lat], function (status, result) {
          if (status === 'complete' && result.regeocode) {
            var _ref = result.regeocode.addressComponent || {},
              _ref$province = _ref.province,
              province = _ref$province === void 0 ? '' : _ref$province,
              _ref$city = _ref.city,
              city = _ref$city === void 0 ? '' : _ref$city;
            // 过滤省市
            _this.addressArr[index] = result.regeocode.formattedAddress.replace("".concat(province).concat(city), '') || '';
            _this.$forceUpdate();
          }
        });
      });
    },
    handleCurrentChange: function handleCurrentChange(val) {
      this.getCurrentDetailList(val);
    },
    handleSizeChange: function handleSizeChange(val) {
      this.pages.currentPage = 1;
      this.pages.pageSize = val;
    }
  }
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/rightDetails.vue?vue&type=script&lang=js
 /* harmony default export */ var components_rightDetailsvue_type_script_lang_js = (rightDetailsvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/trajectoryMap/components/rightDetails.vue?vue&type=style&index=0&id=7960a261&prod&lang=less&scoped=true
var rightDetailsvue_type_style_index_0_id_7960a261_prod_lang_less_scoped_true = __webpack_require__("9d26");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/rightDetails.vue






/* normalize component */

var rightDetails_component = Object(componentNormalizer["a" /* default */])(
  components_rightDetailsvue_type_script_lang_js,
  rightDetailsvue_type_template_id_7960a261_scoped_true_render,
  rightDetailsvue_type_template_id_7960a261_scoped_true_staticRenderFns,
  false,
  null,
  "7960a261",
  null
  
)

/* harmony default export */ var rightDetails = (rightDetails_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/headerBar.vue?vue&type=template&id=94dbf55e&scoped=true
var headerBarvue_type_template_id_94dbf55e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('section',{staticClass:"trajectoryHeader"},[_c('section',{staticClass:"topNav blueBg"},[_vm._m(0),_c('span',[_vm._v(_vm._s(_vm.mapCurrentData.facilityType || _vm.mapCurrentData.type)+"轨迹")])]),_c('h2',{staticClass:"dialogTit"},[_vm._t("title")],2),_c('section',{staticClass:"trajectoryClose cursor"},[_c('i',{staticClass:"font_family icon-guanbi",on:{"click":_vm.closePage}})]),_c('section',{staticClass:"trajectory-header__slot cursor"},[_vm._t("btns")],2)])
}
var headerBarvue_type_template_id_94dbf55e_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('i',[_c('img',{attrs:{"src":__webpack_require__("32c0"),"alt":""}})])
}]


// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/headerBar.vue?vue&type=template&id=94dbf55e&scoped=true

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/headerBar.vue?vue&type=script&lang=js
/* harmony default export */ var headerBarvue_type_script_lang_js = ({
  props: {
    mapCurrentData: {
      type: [Object],
      default: null
    }
  },
  data: function data() {
    return {};
  },
  methods: {
    closePage: function closePage() {
      this.$emit('close');
    }
  }
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/headerBar.vue?vue&type=script&lang=js
 /* harmony default export */ var components_headerBarvue_type_script_lang_js = (headerBarvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/trajectoryMap/components/headerBar.vue?vue&type=style&index=0&id=94dbf55e&prod&lang=less&scoped=true
var headerBarvue_type_style_index_0_id_94dbf55e_prod_lang_less_scoped_true = __webpack_require__("5b27");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/headerBar.vue






/* normalize component */

var headerBar_component = Object(componentNormalizer["a" /* default */])(
  components_headerBarvue_type_script_lang_js,
  headerBarvue_type_template_id_94dbf55e_scoped_true_render,
  headerBarvue_type_template_id_94dbf55e_scoped_true_staticRenderFns,
  false,
  null,
  "94dbf55e",
  null
  
)

/* harmony default export */ var headerBar = (headerBar_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/footerBar.vue?vue&type=template&id=0a3b965e&scoped=true
var footerBarvue_type_template_id_0a3b965e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"box-test"},[_c('div',{staticClass:"time pointer z-3"},[_c('div',{staticClass:"calenda",style:({'background-image':__webpack_require__("026d")})},[_c('p',{staticClass:"timeStr z-3"},[_vm._v(_vm._s(_vm.formatCurrentDate))]),_c('el-date-picker',{ref:"chooseStartTime",staticClass:"_nativeDateTimePicker",attrs:{"type":"datetime","size":"large","align":"center","editable":false,"clearable":false,"placeholder":"选择日期","popper-class":`trajectory-date-popper ${
          _vm.mapCurrentData.classType === 3 ? 'car' : ''
        }${_vm.mapCurrentData.classType === 1 ? 'user' : ''}`,"picker-options":_vm.datePickerOptions},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}})],1),_c('div',[_c('div',{staticStyle:{"font-size":"12px","position":"absolute","bottom":"38px","transform":"scale(0.8) translateX(-6px)"}},[_vm._v(_vm._s(_vm.formatCurrentTime))]),_c('el-time-picker',{ref:"nativeTimePicker",staticClass:"_nativeTimePicker",staticStyle:{"width":"60px","height":"28px","opacity":"0","pointer-events":"none"},attrs:{"is-range":"","format":"HH:mm","value-format":"HH:mm","popper-class":"nativeTimePicker-popper","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间","placeholder":"选择时间范围"},on:{"change":_vm.selectionTimeChange},model:{value:(_vm.currentDateTime),callback:function ($$v) {_vm.currentDateTime=$$v},expression:"currentDateTime"}})],1)]),_vm._t("time-select"),_c('div',{staticStyle:{"height":"50px"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.navgStatus === 1 || _vm.navgStatus === 2),expression:"navgStatus === 1 || navgStatus === 2"}],staticClass:"controlBtn"},[_c('img',{staticClass:"traBtn",staticStyle:{"margin-left":"0.5em","margin-right":"0.5em"},attrs:{"src":__webpack_require__("5dc2"),"alt":""},on:{"click":_vm.onStop}}),_c('span',[_vm._v("停止")])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.navgStatus === 0),expression:"navgStatus === 0"}],staticClass:"controlBtn"},[_c('img',{staticClass:"traBtn",staticStyle:{"margin-left":"0.5em","margin-right":"0.5em"},attrs:{"src":__webpack_require__("caec"),"alt":"_play"},on:{"click":_vm.onStart}}),_c('span',[_vm._v("开始")])])]),_c('div',{staticClass:"durationBox"},[_c('div',{staticClass:"durationItem"},[_vm._v("\n      "+_vm._s(_vm.speedOptions.filter(item => item.value === _vm.speed)[0].label)+"\n    ")]),_c('el-select',{staticClass:"selectBtn",attrs:{"placeholder":"请选择"},on:{"change":_vm.durationChange},model:{value:(_vm.speed),callback:function ($$v) {_vm.speed=$$v},expression:"speed"}},_vm._l((_vm.speedOptions),function(item){return _c('el-option',{key:item.value,attrs:{"label":item.label,"value":item.value}})}),1),_c('p',[_vm._v("倍速")])],1)],2)
}
var footerBarvue_type_template_id_0a3b965e_scoped_true_staticRenderFns = []


// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/footerBar.vue?vue&type=template&id=0a3b965e&scoped=true

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
var es_number_constructor = __webpack_require__("a9e3");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/config.js
var perosonSource = {
  GPS: 'GPS工牌',
  BT: '蓝牙信标',
  IOTHUB: 'IOTHUB上传',
  LONGGANG: '龙港第三方',
  TUYUAN: '图元电子工牌',
  ZFY: '执法仪',
  ZYT: '祝英台'
};

// 单位：米/小时
var speedList = [{
  value: 500,
  label: 'X0.5'
}, {
  value: 1000,
  label: 'X1'
}, {
  value: 2000,
  label: 'X2'
}, {
  value: 4000,
  label: 'X4'
}, {
  value: 8000,
  label: 'X8'
}, {
  value: 16000,
  label: 'X16'
}, {
  value: 32000,
  label: 'X32'
}, {
  value: 64000,
  label: 'X64'
}];

// 巡航器状态
var NAVG_STATUS_DEFAULT = 0; // 初始状态
var NAVG_STATUS_PLAYING = 1; // 运行状态
var NAVG_STATUS_PAUSE = 2; // 暂停状态
// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/components/footerBar.vue?vue&type=script&lang=js














/* harmony default export */ var footerBarvue_type_script_lang_js = ({
  props: {
    value: {
      type: [Object, Date],
      default: function _default() {
        return {};
      }
    },
    duration: {
      type: [Number],
      default: 0
    },
    navgStatus: {
      type: [Number],
      default: 0
    },
    mapCurrentData: {
      type: [Object],
      default: null
    },
    currentProject: {
      type: [Object],
      default: null
    }
  },
  data: function data() {
    var _this2 = this;
    return {
      currentDate: '',
      speed: 0,
      speedOptions: [],
      userTrackList: [],
      carTrackList: [],
      userShiftObj: {
        shiftDateList: [],
        normalDateList: [],
        noNormalDateList: [],
        vacationDateList: []
      },
      carShiftObj: {
        workDateList: [],
        noWorkDateList: []
      },
      datePickerOptions: {
        cellClassName: function cellClassName(date) {
          if (_this2.mapCurrentData.classType === 1) {
            var _this2$userShiftObj$n, _this2$userShiftObj$n2, _this2$userShiftObj$v;
            var curDate = date.getTime();
            var classNames = '';
            if (_this2.userTrackList.includes(curDate)) {
              classNames += 'has-trajectory ';
            }
            if ((_this2$userShiftObj$n = _this2.userShiftObj.normalDateList) !== null && _this2$userShiftObj$n !== void 0 && _this2$userShiftObj$n.includes(curDate)) {
              classNames += 'schedule-green';
            } else if ((_this2$userShiftObj$n2 = _this2.userShiftObj.noNormalDateList) !== null && _this2$userShiftObj$n2 !== void 0 && _this2$userShiftObj$n2.includes(curDate)) {
              classNames += 'schedule-orange';
            } else if ((_this2$userShiftObj$v = _this2.userShiftObj.vacationDateList) !== null && _this2$userShiftObj$v !== void 0 && _this2$userShiftObj$v.includes(curDate)) {
              classNames += 'schedule-grey';
            }
            return classNames;
          } else {
            var _this2$carShiftObj$wo, _this2$carShiftObj$no;
            var _curDate = date.getTime();
            var _classNames = '';
            if (_this2.carTrackList.includes(_curDate)) {
              _classNames += 'has-trajectory ';
            }
            if ((_this2$carShiftObj$wo = _this2.carShiftObj.workDateList) !== null && _this2$carShiftObj$wo !== void 0 && _this2$carShiftObj$wo.includes(_curDate)) {
              _classNames += 'schedule-green';
            } else if ((_this2$carShiftObj$no = _this2.carShiftObj.noWorkDateList) !== null && _this2$carShiftObj$no !== void 0 && _this2$carShiftObj$no.includes(_curDate)) {
              _classNames += 'schedule-orange';
            }
            return _classNames;
          }
        },
        // 轨迹日期只能选择最近7个月
        disabledDate: function disabledDate(time) {
          return dayjs_min_default()(time).isAfter(dayjs_min_default()(), 'day') || dayjs_min_default()(time).isBefore(dayjs_min_default()().add(-7, 'month').add(1, 'day'), 'day');
        }
      },
      currentDateTime: ['00:00', '23:59']
    };
  },
  computed: {
    formatCurrentDate: function formatCurrentDate() {
      return dayjs_min_default()(this.currentDate).format('MM-DD');
    },
    formatCurrentTime: function formatCurrentTime() {
      if (this.currentDateTime) {
        return "".concat(this.currentDateTime[0], "~").concat(this.currentDateTime[1]);
      } else {
        return ['00:00', '23:59'];
      }
    }
  },
  watch: {
    value: {
      handler: function handler(newVal) {
        this.currentDate = newVal;
      },
      immediate: true
    },
    duration: {
      handler: function handler(newVal) {
        this.speed = newVal;
      },
      immediate: true
    }
  },
  created: function created() {
    if (this.mapCurrentData.classType == 1) {
      // 人的速度需比车慢一点
      this.speedOptions = speedList.map(function (item) {
        var newVal = item.value / 4;
        return Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, item), {}, {
          value: newVal
        });
      });
    } else {
      this.speedOptions = speedList;
    }
  },
  mounted: function mounted() {
    var _this = this;
    this.$refs.chooseStartTime.panel.methods.changeToNow = function () {
      console.log(_this.$refs.nativeTimePicker, '_this.$refs.nativeTimePicker');
      setTimeout(function () {
        _this.$refs.nativeTimePicker.focus();
      }, 200);
    };
    this.$refs.chooseStartTime.panel.methods.confirm = function (val) {
      console.log(val, _this.currentDate);
      _this.selectionDateChange(_this.currentDate);
      _this.$refs.chooseStartTime.handleClose();
    };
    if (this.mapCurrentData.classType == 1) {
      this.getUserTrack();
      this.getUserShift();
    } else {
      this.getCarTrack();
      this.getCarShift();
    }
    this.$refs.nativeTimePicker.panel.methods.handleCancel = function () {
      _this.$refs.nativeTimePicker.pickerVisible = false;
      this.$emit('pick', this.oldValue, false);
    };
  },
  methods: {
    selectionTimeChange: function selectionTimeChange(val) {
      var _this3 = this;
      if (val) {
        var _this = this;
        console.log(val, 99999999000, '选中时间变化了');
        var time = {
          startTime: "".concat(dayjs_min_default()(this.currentDate).format('YYYY-MM-DD'), " ").concat(val[0]),
          endTime: "".concat(dayjs_min_default()(this.currentDate).format('YYYY-MM-DD'), " ").concat(val[1])
        };
        console.log(time, '1111');
        setTimeout(function () {
          _this.$refs.nativeTimePicker.blur();
          _this.$refs.nativeTimePicker.handleClose();
          _this3.$emit('input', _this3.currentDate);
          _this3.$emit('timeChange', time);
        }, 200);
      }
    },
    selectionDateChange: function selectionDateChange(val) {
      console.log(this.$refs.chooseStartTime, 99999999000);
      this.currentDateTime = ['00:00', '23:59'];
      var time = {
        startTime: "".concat(dayjs_min_default()(val).format('YYYY-MM-DD'), " ").concat(this.currentDateTime[0]),
        endTime: "".concat(dayjs_min_default()(val).format('YYYY-MM-DD'), " ").concat(this.currentDateTime[1])
      };
      console.log(time, 2222, '选中日期变化了');
      this.$emit('input', val);
      this.$emit('timeChange', time);
    },
    durationChange: function durationChange(val) {
      this.$emit('update:duration', val);
      this.$emit('durationChange', val);
    },
    onStart: function onStart(val) {
      this.$emit('start', val);
    },
    onStop: function onStop(val) {
      this.$emit('stop', val);
    },
    getUserTrack: function getUserTrack() {
      var _this4 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _context.next = 1;
              return Object(request["zb" /* getUserTrackList */])({
                tririgaCode: _this4.mapCurrentData.tririgaCode,
                start: dayjs_min_default()().add(-7, 'month').add(1, 'day').valueOf(),
                end: Date.now() - 60 * 24
              });
            case 1:
              res = _context.sent;
              _this4.userTrackList = res.data;
            case 2:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    getUserShift: function getUserShift() {
      var _this5 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _context2.next = 1;
              return Object(request["xb" /* getUserShiftDate */])({
                projectIds: _this5.currentProject.projectIds,
                tririgaCode: _this5.mapCurrentData.tririgaCode,
                start: dayjs_min_default()().add(-7, 'month').add(1, 'day').valueOf(),
                end: Date.now() - 60 * 24
              });
            case 1:
              res = _context2.sent;
              _this5.userShiftObj = res.data || {};
            case 2:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    getCarTrack: function getCarTrack() {
      var _this6 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        var res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              _context3.next = 1;
              return Object(request["y" /* getCarTrackList */])({
                projectIds: _this6.currentProject.projectIds,
                tririgaCode: _this6.mapCurrentData.tririgaCode,
                start: dayjs_min_default()().add(-7, 'month').add(1, 'day').valueOf(),
                end: Date.now() - 60 * 24
              });
            case 1:
              res = _context3.sent;
              _this6.carTrackList = res.data;
            case 2:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }))();
    },
    getCarShift: function getCarShift() {
      var _this7 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee4() {
        var res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context4) {
          while (1) switch (_context4.prev = _context4.next) {
            case 0:
              _context4.next = 1;
              return Object(request["x" /* getCarShiftDate */])({
                projectIds: _this7.currentProject.projectIds,
                tririgaCode: _this7.mapCurrentData.tririgaCode,
                start: dayjs_min_default()().add(-7, 'month').add(1, 'day').valueOf(),
                end: Date.now() - 60 * 24
              });
            case 1:
              res = _context4.sent;
              _this7.carShiftObj = res.data || {};
            case 2:
            case "end":
              return _context4.stop();
          }
        }, _callee4);
      }))();
    }
  }
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/footerBar.vue?vue&type=script&lang=js
 /* harmony default export */ var components_footerBarvue_type_script_lang_js = (footerBarvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/trajectoryMap/components/footerBar.vue?vue&type=style&index=0&id=0a3b965e&prod&lang=less&scoped=true
var footerBarvue_type_style_index_0_id_0a3b965e_prod_lang_less_scoped_true = __webpack_require__("065f");

// EXTERNAL MODULE: ./src/pages/trajectoryMap/components/footerBar.vue?vue&type=style&index=1&id=0a3b965e&prod&lang=less
var footerBarvue_type_style_index_1_id_0a3b965e_prod_lang_less = __webpack_require__("65c2");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/components/footerBar.vue







/* normalize component */

var footerBar_component = Object(componentNormalizer["a" /* default */])(
  components_footerBarvue_type_script_lang_js,
  footerBarvue_type_template_id_0a3b965e_scoped_true_render,
  footerBarvue_type_template_id_0a3b965e_scoped_true_staticRenderFns,
  false,
  null,
  "0a3b965e",
  null
  
)

/* harmony default export */ var footerBar = (footerBar_component.exports);
// EXTERNAL MODULE: ./src/assets/images/map/icon-map-alert.svg
var icon_map_alert = __webpack_require__("6e98");

// CONCATENATED MODULE: ./src/assets/images/map/car-fence-alert.svg
/* harmony default export */ var car_fence_alert = (__webpack_require__.p + "img/car-fence-alert.73410394.svg");
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__("3835");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
var es_iterator_every = __webpack_require__("d866");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
var es_json_stringify = __webpack_require__("e9c4");

// EXTERNAL MODULE: ./node_modules/lodash/cloneDeep.js
var cloneDeep = __webpack_require__("0644");
var cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep);

// CONCATENATED MODULE: ./src/pages/trajectoryMap/mixins.js






















var screenShotPlugin = __webpack_require__("c740f");

// 清除动态添加的点
window.__clearMarker = function () {
  if (window.currentMapInstance && window.currentMapInstance.remove && window.mapMarker) {
    window.currentMapInstance.remove(window.mapMarker);
  }
};

// 人车共用
var commonMixins = {
  data: function data() {
    return {
      curIdx: 0,
      // 巡航器起点index
      mapMarker: null,
      navg1: null,
      originPointList: []
    };
  },
  computed: {
    center: function center() {
      return [this.currentProject.longitude, this.currentProject.latitude];
    }
  },
  watch: {},
  created: function created() {
    if (this.mapCurrentData.time) {
      this.currentDate = dayjs_min_default()(this.mapCurrentData.time).startOf('day');
    } else {
      this.currentDate = dayjs_min_default()().startOf('day');
    }
  },
  mounted: function mounted() {
    var _this = this;
    return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
      return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context) {
        while (1) switch (_context.prev = _context.next) {
          case 0:
            _this.initialMap();
            window.result = {};
          case 1:
          case "end":
            return _context.stop();
        }
      }, _callee);
    }))();
  },
  beforeDestroy: function beforeDestroy() {
    var _this2 = this;
    return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
      var _this2$map, _this2$map2;
      return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context2) {
        while (1) switch (_context2.prev = _context2.next) {
          case 0:
            _this2.setNavgEnd();
            (_this2$map = _this2.map) === null || _this2$map === void 0 || _this2$map.clearMap();
            _context2.next = 1;
            return _this2.$nextTick();
          case 1:
            (_this2$map2 = _this2.map) === null || _this2$map2 === void 0 || _this2$map2.destroy();
          case 2:
          case "end":
            return _context2.stop();
        }
      }, _callee2);
    }))();
  },
  methods: {
    // 加载地图api并初始化地图
    initialMap: function initialMap() {
      var _this3 = this;
      var _this$center = Object(slicedToArray["a" /* default */])(this.center, 2),
        lng = _this$center[0],
        lat = _this$center[1];
      this.map = new window.AMap.Map('trajectoryMapContainer', {
        resizeEnable: true,
        center: [lng, lat],
        zoom: this.zoom,
        animateEnable: true
        // mapStyle: 'amap://styles/ec650e6809cac9f854e5e2727b073310'
        // pitch: 55.94919957310569,
        // rotation: -0.7908261543741522,
        // viewMode: '3D', //开启3D视图,默认为关闭
        // buildingAnimation: true, //楼块出现是否带动画
      });
      console.log("output->map", '开始初始化地图');
      this.map.on('complete', /*#__PURE__*/Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              console.log("output->map", '初始化地图完成');
              _context3.next = 1;
              return _this3.initAMapUI();
            case 1:
              window.PathSimplifier = _context3.sent;
              console.log("output->map", window.PathSimplifier);
              _this3.afterMapMount();
            case 2:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      })));
    },
    initAMapUI: function initAMapUI() {
      return new Promise(function (resolve) {
        console.log("output->map", '开始加载PathSimplifier');
        window.AMapUI.load(['ui/misc/PathSimplifier'], function (PathSimplifier) {
          console.log("output->map", 'PathSimplifier加载完成');
          if (!PathSimplifier.supportCanvas) {
            alert('当前环境不支持 Canvas！');
            return;
          }
          console.log("output->map", '返回PathSimplifier');
          resolve(PathSimplifier);
        });
      });
    },
    trajectoryFormat: function trajectoryFormat(resData) {
      var _this4 = this;
      this.pointList = [];
      this.path = [];
      this.originDetailData = [];
      var data = cloneDeep_default()(resData);
      data = data.flat().map(function (item) {
        item.trackTime = dayjs_min_default()(item.trackTime).valueOf();
        return item;
      });
      // 对结果进行排序，按照geo的时间顺序升序排列， 时间由早到晚
      data = this.$lodash.orderBy(data, 'trackTime', 'asc');
      this.originPointList = data;
      // 用于计算当天的时间偏移基数
      var startTimeStamp = dayjs_min_default()(this.currentDate).startOf('day').unix();
      data.forEach(function (item) {
        var longitude = item.longitude,
          latitude = item.latitude,
          labelId = item.labelId,
          trackTime = item.trackTime,
          speed = item.speed,
          angle = item.angle,
          source = item.source,
          devicePower = item.devicePower;
        if (longitude && latitude) {
          var point = {
            lng: longitude,
            lat: latitude,
            trackTime: trackTime,
            // 当前geo上报定位的时间, 同义转换为时间戳
            second: trackTime / 1000 - startTimeStamp,
            // 轨迹时间相对今天的00:00:00的偏移秒数
            speed: speed,
            // GEO速度
            angle: angle // 陀螺仪角度
          };
          var detailItem = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, item), {}, {
            point: point,
            trackTime: trackTime,
            time: dayjs_min_default()(trackTime).format('HH:mm:ss'),
            issueNum: item.workIssueNum || 0,
            sourceLabel: perosonSource[source] || '',
            source: source,
            devicePower: devicePower,
            labelId: labelId
          });
          _this4.originDetailData.push(detailItem);
          _this4.path.push(point);
          _this4.pointList.push([longitude, latitude]);
        }
      });
    },
    getTrajectoryFormatData: function getTrajectoryFormatData(resData) {
      var pointList = [];
      var path = [];
      var originDetailData = [];
      var data = cloneDeep_default()(resData);
      data = data.flat().map(function (item) {
        item.trackTime = dayjs_min_default()(item.trackTime).valueOf();
        return item;
      });
      // 对结果进行排序，按照geo的时间顺序升序排列， 时间由早到晚
      data = this.$lodash.orderBy(data, 'trackTime', 'asc');
      // 用于计算当天的时间偏移基数
      var startTimeStamp = dayjs_min_default()(this.currentDate).startOf('day').unix();
      data.forEach(function (item) {
        var longitude = item.longitude,
          latitude = item.latitude,
          labelId = item.labelId,
          trackTime = item.trackTime,
          speed = item.speed,
          angle = item.angle,
          source = item.source,
          devicePower = item.devicePower;
        if (longitude && latitude) {
          var point = {
            lng: longitude,
            lat: latitude,
            trackTime: trackTime,
            // 当前geo上报定位的时间, 同义转换为时间戳
            second: trackTime / 1000 - startTimeStamp,
            // 轨迹时间相对今天的00:00:00的偏移秒数
            speed: speed,
            // GEO速度
            angle: angle // 陀螺仪角度
          };
          var detailItem = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, item), {}, {
            point: point,
            trackTime: trackTime,
            time: dayjs_min_default()(trackTime).format('HH:mm:ss'),
            issueNum: item.workIssueNum || 0,
            sourceLabel: perosonSource[source] || '',
            source: source,
            devicePower: devicePower,
            labelId: labelId
          });
          originDetailData.push(detailItem);
          path.push(point);
          pointList.push([longitude, latitude]);
        }
      });
      return {
        pointList: pointList,
        path: path,
        originDetailData: originDetailData
      };
    },
    // 初始化所有marker和轨迹
    initMarker: function initMarker() {
      // 画出起点marker
      this.startMarker = new window.AMap.Marker({
        map: this.map,
        size: new window.AMap.Size(48, 48),
        position: this.pointList[0],
        icon: __webpack_require__("1634"),
        offset: new window.AMap.Pixel(-21, -45),
        zIndex: 70
      });
    },
    initEndMarker: function initEndMarker() {
      // 画出终点的marker
      this.endMarker = new window.AMap.Marker({
        map: this.map,
        size: new window.AMap.Size(48, 48),
        position: this.pointList[this.pointList.length - 1],
        icon: __webpack_require__("4590"),
        offset: new window.AMap.Pixel(-21, -45),
        zIndex: 70
      });
    },
    // 开始播放
    play: function play() {
      // 判断当前是不是最后一个点
      var lastPoint = this.path[this.path.length - 1];
      if (!lastPoint) return;
      // 不存在无法创建巡航器
      if (!this.passWayPolyline.getPathData(0)) {
        return;
      }
      if (this.timeSliderPosition && this.timeSliderPosition.lng === lastPoint.lng && this.timeSliderPosition.lat === lastPoint.lat && this.timeSliderPosition.trackTime === lastPoint.trackTime) {
        // 重新开始播放
        this.isStartPolyLine = false;
      }
      this.navgStatus = NAVG_STATUS_PLAYING;
      if (!this.path.length) {
        return;
      }
      if (!this.isStartPolyLine) {
        if (this.endMarker) {
          this.map.remove(this.endMarker);
        }
        this.isStartPolyLine = true;
        this.startNavg();
      } else {
        if (this.navg1) {
          this.navg1.resume();
        } else {
          this.startNavg();
        }
      }
    },
    // 停止
    stopMove: function stopMove() {
      var _this$navg;
      this.navgStatus = NAVG_STATUS_DEFAULT;
      (_this$navg = this.navg1) === null || _this$navg === void 0 || _this$navg.pause();
    },
    // 设置为结束状态
    setNavgEnd: function setNavgEnd() {
      var _this$navg2;
      this.navgStatus = NAVG_STATUS_DEFAULT;
      this.curIdx = 0;
      (_this$navg2 = this.navg1) === null || _this$navg2 === void 0 || _this$navg2.destroy();
      this.navg1 = null;
    },
    // 清空地图上的行驶路线
    clearPassWay: function clearPassWay() {
      var _this$passWayPolyline;
      (_this$passWayPolyline = this.passWayPolyline) === null || _this$passWayPolyline === void 0 || _this$passWayPolyline.setData();
    },
    // 支持在播放途中切换播放的倍速
    durationChange: function durationChange(val) {
      var _this$navg3;
      (_this$navg3 = this.navg1) === null || _this$navg3 === void 0 || _this$navg3.setSpeed(val);
    },
    // 地图拖拽时间选择器触发事件
    onTimeStampChange: function onTimeStampChange(timeData) {
      var _this5 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee4() {
        var _this5$navg;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context4) {
          while (1) switch (_context4.prev = _context4.next) {
            case 0:
              _this5.findIncident(timeData);
              _this5.curIdx = timeData.idx;
              if (timeData.idx === _this5.originPointList.length - 1) {
                // 选择最后一个点再点开始会直接结束，无法触发move事件
                _this5.curIdx = timeData.idx - 1;
              }
              _this5.timeSliderPosition = _this5.path[_this5.curIdx];
              (_this5$navg = _this5.navg1) === null || _this5$navg === void 0 || _this5$navg.moveToPoint(_this5.curIdx);
              _this5.stopMove();
            case 1:
            case "end":
              return _context4.stop();
          }
        }, _callee4);
      }))();
    },
    findIncident: function findIncident() {},
    // 绘制背景蒙层
    renderBackground: function renderBackground() {
      var outer = [new window.AMap.LngLat(-360, 90, true), new window.AMap.LngLat(-360, -90, true), new window.AMap.LngLat(360, -90, true), new window.AMap.LngLat(360, 90, true)];
      var pathArray = [outer];
      var projectBorder = new window.AMap.Polygon({
        path: pathArray,
        fillColor: '#ffffff',
        // 填充颜色
        fillOpacity: 0.5 // 填充的透明度
      });
      projectBorder.setMap(this.map);
    },
    getOverlaysById: function getOverlaysById(value) {
      var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'id';
      var overlays = this.map.getAllOverlays();
      var overlay = overlays.length && overlays.filter(function (item) {
        var extData = item.getExtData();
        // prop是在extData中自己添加的字段
        return extData && extData[prop] === value;
      });
      return overlay || [];
    },
    clearMarker: function clearMarker() {
      if (this.mapMarker) {
        this.map.remove(this.mapMarker);
      }
    },
    onDetailClick: function onDetailClick(item) {
      // 性能考虑只在点击时才会挂
      window.currentMapInstance = this.map;
      // const icon = require('@/assets/images/map-marker.png');
      // const markerContent = `
      //     <div class="custom-content-marker" >
      //       <img src="${icon}" onclick="__clearMarker()" />
      //        <div class="close-btn" onclick="__clearMarker()">X</div>
      //     </div>
      //   `;
      var marker = new window.AMap.Marker({
        content: this.$refs.markerContent,
        position: new window.AMap.LngLat(item.point.lng, item.point.lat),
        map: this.map,
        size: new window.AMap.Size(48, 71),
        offset: new window.AMap.Pixel(-21, -60)
      });
      // 当前点为的开始时间， 级算trackTime 偏移量
      var startTimeStamp = dayjs_min_default()(item.trackTime).startOf('day').unix();
      // 重设时间轴位置
      this.timeSliderPosition = {
        lng: item.point.lng,
        lat: item.point.lat,
        trackTime: item.trackTime,
        // 当前geo上报定位的时间
        second: item.trackTime / 1000 - startTimeStamp,
        // 轨迹时间相对今天的00:00:00的偏移秒数
        speed: item.speed || 0,
        // GEO速度
        angle: item.angle || 0 // 陀螺仪角度
      };
      if (this.mapMarker) {
        this.map.remove(this.mapMarker);
      }
      // this.map.add(marker);
      this.mapMarker = marker;
      window.mapMarker = marker;
    }
  }
};

// 巡航器
var navgIndex = -1;
var pathSimplifierMixins = {
  data: function data() {
    return {
      curIdx: 0,
      navg1: null,
      iconObj: {
        1: {
          url: "".concat(window.location.pathname, "static/images/map/icon_user_normal.png"),
          width: 32,
          height: 36
        },
        2: {
          url: "".concat(window.location.pathname, "static/images/map/\u65E0\u4EBA\u673A.png"),
          width: 48,
          height: 48
        },
        3: {
          url: "".concat(window.location.pathname, "static/images/map/car.png"),
          width: 48,
          height: 48
        }
      }
    };
  },
  watch: {
    navg1: function navg1(newMarker, oldMarker) {
      // 只有当marker被改变后，才需要重新设置监听
      if (newMarker) {
        newMarker.on('move', this.navgMove);
      }
      if (oldMarker) {
        oldMarker.off('move');
      }
    }
  },
  methods: {
    createPathSimplifierIns: function createPathSimplifierIns() {
      var pathLineStyle = {
        strokeStyle: '#28F',
        lineWidth: 6,
        borderStyle: '#fff',
        borderWidth: 1
      };
      var pathLineHoverStyle = {
        strokeStyle: '#2288ffb2',
        lineWidth: 6,
        borderStyle: '#fff',
        borderWidth: 1
      };
      var emptyLineStyle = {
        lineWidth: 0,
        fillStyle: null,
        strokeStyle: null,
        borderStyle: null
      };
      this.passWayPolyline = this.passWayPolyline || new window.PathSimplifier({
        zIndex: 60,
        autoSetFitView: true,
        map: this.map,
        getPath: function getPath(pathData, pathIndex) {
          console.log("output->getPath", pathData, pathIndex);
          return pathData.path;
        },
        getHoverTitle: function getHoverTitle(pathData, pathIndex, pointIndex) {
          console.log("output->getHoverTitle", pathData, pathIndex, pointIndex);
          return null;
        },
        renderOptions: {
          pathLineStyle: {
            dirArrowStyle: true
          },
          getPathStyle: function getPathStyle() {
            return {
              pathLineStyle: pathLineStyle,
              pathLineSelectedStyle: pathLineStyle,
              pathLineHoverStyle: pathLineHoverStyle,
              keyPointStyle: emptyLineStyle,
              startPointStyle: emptyLineStyle,
              endPointStyle: emptyLineStyle,
              keyPointHoverStyle: emptyLineStyle,
              keyPointOnSelectedPathLineStyle: emptyLineStyle
            };
          }
        }
      });
    },
    createNavg: function createNavg() {
      var _this6 = this;
      // 巡航器
      var onload = function onload() {
        _this6.passWayPolyline.renderLater();
      };
      var onerror = function onerror() {
        alert('图片加载失败！');
      };
      var pathLinePassedStyle = {
        lineWidth: 6,
        strokeStyle: '#28F'
        // dirArrowStyle: {
        //     stepSpace: 15,
        //     strokeStyle: 'red'
        // }
      };
      var iconObjItem = this.iconObj[this.mapCurrentData.classType] || this.iconObj[1];
      this.navg1 = this.navg1 || this.passWayPolyline.createPathNavigator(0, {
        loop: false,
        speed: this.duration,
        pathNavigatorStyle: {
          autoRotate: this.mapCurrentData.classType === 1 ? false : true,
          //禁止调整方向
          width: iconObjItem.width,
          height: iconObjItem.height,
          //使用图片
          content: window.PathSimplifier.Render.Canvas.getImageContent(iconObjItem.url, onload, onerror),
          strokeStyle: null,
          fillStyle: null,
          //经过路径的样式
          pathLinePassedStyle: pathLinePassedStyle
        }
      });
    },
    startNavg: function startNavg() {
      var _this7 = this;
      // 从 curIdx 开始截取数组，并判断后面的坐标是否都相同
      var subArr = this.path.slice(this.curIdx);
      var isSame = subArr.every(function (item) {
        var lng = item.lng,
          lat = item.lat;
        return subArr[0].lng === lng && subArr[0].lat === lat;
      });
      // 如果后面的坐标全部相同，巡航器将无法结束，需手动结束
      if (isSame) {
        this.navgMove({
          target: {
            getCursor: function getCursor() {
              return {
                idx: _this7.path.length - 1
              };
            },
            getPosition: function getPosition() {}
          }
        });
        return;
      }
      if (!this.navg1) {
        this.createNavg();
      }
      console.log("output->this.curIdx", this.curIdx);
      console.log("output->this.navg1", this.navg1);
      this.navg1.start(this.curIdx);
    },
    navgMove: function navgMove(e) {
      var targetIndex = e.target.getCursor().idx;
      var lnglat = e.target.getPosition();
      if (navgIndex === targetIndex) {
        return;
      }
      navgIndex = targetIndex;
      console.log("output->position", targetIndex, JSON.stringify(lnglat));
      var usingPoint = this.originPointList[targetIndex];
      var longitude = usingPoint.longitude,
        latitude = usingPoint.latitude,
        trackTime = usingPoint.trackTime,
        speed = usingPoint.speed,
        angle = usingPoint.angle;
      var startTimeStamp = dayjs_min_default()(trackTime).startOf('day').unix();
      var point = {
        lng: longitude,
        lat: latitude,
        trackTime: trackTime,
        // 当前geo上报定位的时间
        second: trackTime / 1000 - startTimeStamp,
        // 轨迹时间相对今天的00:00:00的偏移秒数
        speed: speed,
        // GEO速度
        angle: angle // 陀螺仪角度
      };
      // 设置时间控制条的进度
      this.timeSliderPosition = point;
      // 最后一个点结束
      var originListLength = this.originPointList.length - 1;
      if (targetIndex === originListLength) {
        navgIndex = -1;
        this.initEndMarker();
        this.setNavgEnd();
      }
    }
  }
};
// 截图
var screenShot = {
  data: function data() {
    return {
      isShowScreen: false
    };
  },
  watch: {
    isShowScreen: function isShowScreen(val) {
      var _window$parent;
      var doc = ((_window$parent = window.parent) === null || _window$parent === void 0 ? void 0 : _window$parent.document) || document;
      if (val === true) {
        doc.querySelector('.itsm_plugin_dom_logo').style.display = 'none';
      } else {
        doc.querySelector('.itsm_plugin_dom_logo').style.display = 'block';
      }
    }
  },
  methods: {
    captureScreenShot: function captureScreenShot() {
      var _window$parent2,
        _this8 = this;
      this.isShowScreen = true;
      var doc = ((_window$parent2 = window.parent) === null || _window$parent2 === void 0 ? void 0 : _window$parent2.document) || document;
      var boxInfo = {
        x: 0,
        y: 0,
        w: doc.body.clientWidth,
        h: doc.body.clientHeight
      };
      var canvasDom = null;
      var screenShotHandler = new screenShotPlugin({
        enableWebRtc: true,
        level: 9999999,
        //层级级别
        // screenShotDom: document.querySelector('#trajectoryMapContainer'),
        // clickCutFullScreen: true,//单击截全屏启用状态
        // showScreenData: true,//截图组件加载完毕后，是否显示截图内容至canvas画布内
        cropBoxInfo: boxInfo,
        completeCallback: function completeCallback(base64) {
          console.log("completeCallback", base64);
          _this8.saveCanvasToImage(canvasDom, boxInfo);
          _this8.isShowScreen = false;
        },
        closeCallback: function closeCallback() {
          _this8.isShowScreen = false;
        },
        triggerCallback: function triggerCallback() {
          console.log("triggerCallback ", '用户授权成功');
          setTimeout(function () {
            // 点击对号保存
            document.querySelector('#toolPanel .item-panel.confirm').click();
          }, 100);
        },
        cancelCallback: function cancelCallback() {
          console.log("cancelCallback ", '用户取消授权');
          _this8.isShowScreen = false;
        }
      });
      canvasDom = screenShotHandler.getCanvasController();
    },
    saveCanvasToImage: function saveCanvasToImage(canvasDom, _ref2) {
      var x = _ref2.x,
        y = _ref2.y,
        w = _ref2.w,
        h = _ref2.h;
      var screenShotCanvas = canvasDom.getContext('2d');
      // 获取设备像素比
      var dpr = window.devicePixelRatio || 1;
      // 获取裁剪框区域图片信息
      var img = screenShotCanvas.getImageData(x * dpr, y * dpr, w * dpr, h * dpr);
      // 创建canvas标签，用于存放裁剪区域的图片
      var canvasNew = document.createElement('canvas');
      // 获取裁剪框区域画布
      var imgContext = this.getCanvas2dCtx(canvasNew, w, h);
      if (imgContext) {
        // 将图片放进裁剪框内
        imgContext.putImageData(img, 0, 0);
        var a = document.createElement('a');
        // 获取图片
        a.href = canvasNew.toDataURL('png');
        // 下载图片
        a.download = "photo".concat(dayjs_min_default()(this.value1).format('YYYYMMDD')).concat(new Date().getTime(), ".png");
        a.click();
      }
    },
    getCanvas2dCtx: function getCanvas2dCtx(canvas, width, height) {
      // 获取设备像素比
      var dpr = window.devicePixelRatio || 1;
      canvas.width = Math.round(width * dpr);
      canvas.height = Math.round(height * dpr);
      canvas.style.width = width + 'px';
      canvas.style.height = height + 'px';
      var ctx = canvas.getContext('2d');
      // 对画布进行缩放处理
      if (ctx) {
        ctx.scale(dpr, dpr);
      }
      return ctx;
    }
  }
};
// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/car.vue?vue&type=script&lang=js




































// 计划路线公共配置
var planPolylineOptions = {
  strokeColor: '#FF8642',
  strokeOpacity: 1,
  showDir: false,
  strokeWeight: 5,
  lineJoin: 'round',
  lineCap: 'round',
  zIndex: 50
};

// 电子围栏公共配置
var carElFencePolygonOptions = {
  fillColor: '#007DFF',
  //多边形填充颜色
  fillOpacity: 0.1,
  strokeWeight: 1,
  strokeColor: "#007DFF"
};
var MarkerTypeWarning = 'warning'; // 点位告警类型

/* harmony default export */ var carvue_type_script_lang_js = ({
  mixins: [commonMixins, pathSimplifierMixins, screenShot],
  props: ['mapCurrentData', 'currentProject'],
  components: {
    timeSelector: timeSelector,
    layerCard: layerCard,
    rightDetails: rightDetails,
    headerBar: headerBar,
    footerBar: footerBar
  },
  data: function data() {
    return {
      fullscreenLoading: false,
      isShowScreen: false,
      // 时间控制条（滑块）的位置
      timeSliderPosition: {
        second: 0
      },
      map: null,
      // 地图api实例
      navgStatus: NAVG_STATUS_DEFAULT,
      // 0 初始状态 1运行状态  2暂停状态
      isShowRight: false,
      duration: 4000,
      zoom: 14,
      path: [],
      currentDate: '',
      originDetailData: [],
      pointList: [],
      curLayers: ['plan', 'drive', 'range'],
      planPolylines: [],
      incidentList: [],
      workPolyLines: [],
      mapToolTips: null,
      cancelToken: null,
      // 取消请求
      teimObj: {},
      allCarAlarmMarker: [],
      //地图每个告警开始位置
      carAlarmPathSimplifier: null,
      //地图每个告警路径
      carAlarmPaths: [],
      //地图告警数据合集
      carElFenceRanges: [],
      //地图每个电子围栏
      mapInfoWindow: []
    };
  },
  methods: {
    closePage: function closePage() {
      this.$emit('close', false);
    },
    afterMapMount: function afterMapMount() {
      this.clearMapAlarmRangeLayer();
      this.getTrajectory();
      this.getPlanPolyline();
      this.getElFence(); //初始化
      //   this.getUserIncident();
    },
    /**
     * @description 当前选择的时间范围内的 具体日期 的开始时间
     * @description 根据需求描述，仅需持当天时间范围内的查询和展示
     * **/
    getTrajectory: function getTrajectory() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var startTime, endTime, source, params, res, workTrajectoryData, workdata, _this$getTrajectoryFo, pointList, msg, _t;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              if (_this.cancelToken) _this.cancelToken.cancel('取消请求');
              if (_this.startMarker) {
                _this.map.remove(_this.startMarker);
              }
              if (_this.endMarker) {
                _this.map.remove(_this.endMarker);
              }
              // 需要判断参数传入的时间类型是否是timestamp
              // 优先顺序：参数 > 缓存选择时间 > 默认时间
              startTime = _this.teimObj.startTime ? dayjs_min_default()(_this.teimObj.startTime).valueOf() : dayjs_min_default()(_this.currentDate).valueOf();
              endTime = _this.teimObj.endTime ? dayjs_min_default()(_this.teimObj.endTime).valueOf() : dayjs_min_default()(_this.currentDate).endOf('day').valueOf();
              if (!(endTime < startTime)) {
                _context.next = 1;
                break;
              }
              _this.$message({
                type: 'warning',
                message: '结束时间不能早于开始时间'
              });
              return _context.abrupt("return");
            case 1:
              source = axios_default.a.CancelToken.source();
              _this.cancelToken = source;
              params = {
                id: _this.mapCurrentData.id,
                startTime: startTime,
                endTime: endTime,
                cancelToken: source.token,
                carId: _this.mapCurrentData.id,
                tririgaCode: _this.mapCurrentData.tririgaCode
              };
              _context.prev = 2;
              if (!(_this.mapCurrentData.classType === 2)) {
                _context.next = 4;
                break;
              }
              params.tririgaCode = _this.mapCurrentData.tririgaCode;
              _context.next = 3;
              return Object(request["qb" /* getUavTrack */])(params);
            case 3:
              res = _context.sent;
              _context.next = 6;
              break;
            case 4:
              _context.next = 5;
              return Object(request["z" /* getCarTrajectoryData */])(params);
            case 5:
              res = _context.sent;
            case 6:
              _context.next = 8;
              break;
            case 7:
              _context.prev = 7;
              _t = _context["catch"](2);
              console.error(_t);
            case 8:
              workTrajectoryData = [];
              if (!(res.success && res.data.length)) {
                _context.next = 9;
                break;
              }
              //有轨迹才去请求电子围栏告警
              if (_this.mapCurrentData.classType === 3) {
                _this.getCarAlarm(res.data || []);
              }
              _this.trajectoryFormat(res.data || []);
              workdata = res.data.filter(function (item) {
                return item.workStatus == 1;
              });
              console.log(workdata, 'workdata');
              _this$getTrajectoryFo = _this.getTrajectoryFormatData(workdata), pointList = _this$getTrajectoryFo.pointList;
              workTrajectoryData = pointList;
              _context.next = 10;
              break;
            case 9:
              _this.trajectoryFormat([]);
              msg = _this.mapCurrentData.facilityType || _this.mapCurrentData.type;
              msg && _this.$message({
                type: 'warning',
                message: "\u5F53\u524D".concat(msg, "\u6CA1\u6709\u8F68\u8FF9\uFF01"),
                showClose: true
              });
              return _context.abrupt("return");
            case 10:
              // 生成起始marker
              _this.initMarker();
              _this.initEndMarker();
              // 画出默认的完整轨迹
              if (!_this.passWayPolyline) {
                _this.createPathSimplifierIns();
              }
              _this.passWayPolyline.setData([{
                name: '路径1',
                path: _this.pointList
              }]);
              // 设置时间轴默认的起始点为当前数据的第一个点
              _this.timeSliderPosition = _this.path[0];
              _this.setWorkPolyLines(workTrajectoryData);
            case 11:
            case "end":
              return _context.stop();
          }
        }, _callee, null, [[2, 7]]);
      }))();
    },
    setWorkPolyLines: function setWorkPolyLines(roads) {
      if (roads.length == 0) {
        return;
      } else {
        this.map.remove(this.workPolyLines);
        this.workPolyLines = [];
        var path = [];
        roads.forEach(function (item) {
          path.push(new window.AMap.LngLat(item[0], item[1]));
        });
        var polyline = new window.AMap.Polyline({
          strokeColor: '#ff8642',
          strokeOpacity: 1,
          showDir: false,
          strokeWeight: 20,
          lineJoin: 'round',
          lineCap: 'round',
          isOutline: true,
          // 描边
          borderWeight: 2,
          outlineColor: '#fff',
          zIndex: 99999,
          path: path
        });
        this.workPolyLines.push(polyline);
        this.map.add(this.workPolyLines);
        this.map.setFitView(this.workPolyLines, false, [100, 150, 60, 60]);
      }
    },
    handleLayerChange: function handleLayerChange(vals) {
      this.curLayers = vals;
      // 计划路线
      if (!vals.includes('plan')) {
        this.planPolylines.forEach(function (item) {
          item.hide();
        });
      } else {
        this.planPolylines.forEach(function (item) {
          item.show();
        });
      }
      // 行驶路线
      if (!vals.includes('drive')) {
        this.setNavgEnd();
        this.clearPassWay();
      } else if (this.navgStatus === NAVG_STATUS_DEFAULT) {
        var _this$passWayPolyline;
        (_this$passWayPolyline = this.passWayPolyline) === null || _this$passWayPolyline === void 0 || _this$passWayPolyline.setData([{
          name: '路径1',
          path: this.pointList
        }]);
      }

      // 电子围栏范围
      if (!vals.includes('range')) {
        this.carElFenceRanges.forEach(function (item) {
          item.hide();
        });
      } else {
        this.carElFenceRanges.forEach(function (item) {
          item.show();
        });
      }
    },
    // 手动选择日期时间
    selectionDateChange: function selectionDateChange(val) {
      // 取消自动播放
      this.teimObj = val;
      this.isStartPolyLine = false;
      // 日志切换，清空slider
      this.timeSliderPosition = {
        second: 0
      };
      this.clearMapAlarmRangeLayer();
      this.setNavgEnd();
      this.clearPassWay();
      this.getTrajectory();
      this.getPlanPolyline();
      this.getElFence(); //切换时间
    },
    // 获取车辆计划路线
    getPlanPolyline: function getPlanPolyline() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var params, res, roads;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              params = {
                projectId: _this2.mapCurrentData.projectId || _this2.currentProject.id,
                carId: _this2.mapCurrentData.id,
                // scheduleId: this.mapCurrentData.scheduleId,
                scheduleDate: dayjs_min_default()(_this2.currentDate).format('YYYY-MM-DD')
              };
              _context2.next = 1;
              return Object(dispatchRequest["listCarScheduleRoadLine"])(params);
            case 1:
              res = _context2.sent;
              roads = res.data || [];
              _this2.map.remove(_this2.planPolylines || []);
              _this2.planPolylines = [];
              roads.forEach(function (item) {
                var pathStr = item.lineScope;
                if (!pathStr) {
                  return;
                }
                var paths = [pathStr];
                if (pathStr.includes(';')) {
                  // 兼容多个图形
                  paths = pathStr.split(';');
                }
                paths.forEach(function (pathItem) {
                  var roadList = JSON.parse(pathItem);
                  var path = roadList.map(function (ele) {
                    return new window.AMap.LngLat(ele[0], ele[1]);
                  });
                  var polyline = new window.AMap.Polyline(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, planPolylineOptions), {}, {
                    path: path
                  }));
                  polyline.on('mouseover', function (e) {
                    e.target.setOptions({
                      strokeOpacity: 0.7
                    });
                  });
                  polyline.on('mouseout', function (e) {
                    e.target.setOptions({
                      strokeOpacity: 1
                    });
                  });
                  _this2.planPolylines.push(polyline);
                });
              });
              _this2.map.add(_this2.planPolylines);
              _this2.map.setFitView(_this2.planPolylines, false, [100, 150, 60, 60]);
            case 2:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    getUserIncident: function getUserIncident() {
      var _this3 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        var startTime, endTime, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              startTime = _this3.teimObj.startTime ? dayjs_min_default()(_this3.teimObj.startTime).format('YYYY-MM-DDTHH:mm:ss') : dayjs_min_default()(_this3.currentDate).startOf('day').format('YYYY-MM-DDTHH:mm:ss');
              endTime = _this3.teimObj.endTime ? dayjs_min_default()(_this3.teimObj.endTime).format('YYYY-MM-DDTHH:mm:ss') : dayjs_min_default()(_this3.currentDate).endOf('day').format('YYYY-MM-DDTHH:mm:ss');
              _context3.next = 1;
              return Object(dispatchRequest["listUserIncident"])({
                projectIds: _this3.currentProject.projectIds,
                userTririgaCode: _this3.mapCurrentData.tririgaCode,
                incidentSources: [93, 33, 5, 48],
                //93 坐岗告警，33 工牌低电量，5/48 人员离岗告警，
                startTime: startTime,
                endTime: endTime
              });
            case 1:
              res = _context3.sent;
              if (res.success) {
                _this3.incidentList = res.data || [];
                _this3.createWarningMarker(_this3.incidentList);
              }
            case 2:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }))();
    },
    createWarningMarker: function createWarningMarker() {
      var _this4 = this;
      var markerList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
      // step1 先清除旧点位
      var oldOverlays = this.getOverlaysById(MarkerTypeWarning, 'type');
      if (oldOverlays.length) {
        this.map.remove(oldOverlays);
      }
      // step2 创建新点位
      markerList.forEach(function (item) {
        var icon = new window.AMap.Icon({
          image: icon_map_alert["a" /* default */],
          // Icon的图像
          // size: new window.AMap.Size(24, 24), // 图标尺寸
          imageSize: new window.AMap.Size(10, 10) // 根据所设置的大小拉伸或压缩图片
        });
        var position = [item.longitude, item.latitude];
        var warningMarker = new window.AMap.Marker({
          map: _this4.map,
          position: position,
          icon: icon,
          offset: new window.AMap.Pixel(-5, -5),
          zIndex: 99,
          extData: {
            type: MarkerTypeWarning
          }
        });
        warningMarker.on('click', function (e) {
          // 执行回调
          _this4.openMapToolTips(Object(objectSpread2["a" /* default */])({}, item));
        });
        // warningMarker.on('mouseout', e => {
        //   this.mapToolTips && this.mapToolTips.close();
        // });
      });
    },
    openMapToolTips: function openMapToolTips(markerData) {
      if (!markerData.longitude || !markerData.latitude) {
        return;
      }
      if (!this.mapToolTips) {
        this.mapToolTips = new window.AMap.InfoWindow({
          anchor: 'bottom-center',
          // isCustom: true,
          autoMove: true,
          closeWhenClickMap: true,
          // 点击地图关闭信息窗体
          offset: new window.AMap.Pixel(0, -10)
        });
      }
      var content = this.getToolTipsContent(markerData);
      this.mapToolTips.setContent(content);
      this.mapToolTips.open(this.map, new window.AMap.LngLat(markerData.longitude, markerData.latitude));
    },
    getToolTipsContent: function getToolTipsContent(info) {
      var power = parseInt(info.devicePower) || 0;
      var content = ["<div class=\"map-window__wrapper\">", "<div class=\"alert-info\">\n            <span class=\"alert-title\" title=\"".concat(info.incidentTitle, "\">").concat(info.incidentTitle, "</span>\n            <div class=\"battery-info\">\n              <label>").concat(power, "%</label>\n              <div class=\"battery ").concat(power > 20 ? '' : 'low-power', "\">\n                <div class=\"battery-level\" style=\"width: ").concat(power, "%\"></div>\n              </div>\n            </div>\n          </div>"), "<div class=\"alert-time\">".concat(dayjs_min_default()(info.warnTime).format('YYYY-MM-DD HH:mm:ss'), "</div>"), "<div class=\"alert-position\" title=\"".concat(info.address, "\">").concat(info.address, "</div>"), '</div>'];
      return content.join('');
    },
    /**
     * 获取车的电子围栏告警
     * @param carTrackList 当前车的轨迹
     */
    getCarAlarm: function getCarAlarm(carTrackList) {
      var _this5 = this;
      Object(request["t" /* getCarAlarmList */])(this.mapCurrentData.tririgaCode, dayjs_min_default()(this.currentDate).format('YYYY-MM-DD')).then(function (res) {
        var carAlarmList = res.data || [];
        if (carAlarmList.length) {
          if (!_this5.carAlarmPathSimplifier) {
            var emptyLineStyle = {
              lineWidth: 0,
              fillStyle: null,
              strokeStyle: null,
              borderStyle: null
            };
            // 创建 PathSimplifier 实例
            _this5.carAlarmPathSimplifier = new window.PathSimplifier({
              //初始化
              zIndex: 100,
              // 设置层级
              map: _this5.map,
              // 绑定地图
              getPath: function getPath(pathData) {
                return pathData.path;
              },
              // 获取路径数据
              getHoverTitle: null,
              // 禁用 hoverTitle
              renderOptions: {
                eventSupport: false,
                keyPointTolerance: -1,
                dirArrowStyle: false,
                pathLineStyle: {
                  strokeStyle: '#A61D24',
                  lineWidth: 5,
                  dirArrowStyle: false
                },
                pathLineActiveStyle: null,
                // 禁用鼠标悬停时的样式变化
                pathPointNavigator: false,
                // 禁止绘制路径导航点
                pathPoint: false,
                // 禁止绘制路径节点
                keyPointStyle: emptyLineStyle,
                startPointStyle: emptyLineStyle,
                endPointStyle: emptyLineStyle,
                keyPointHoverStyle: emptyLineStyle,
                keyPointOnSelectedPathLineStyle: emptyLineStyle
              }
            });
          }
          _this5.drawCarAlarm(carAlarmList);
          _this5.drawCarAlarmTrack(carAlarmList, carTrackList);
        }
      });
    },
    drawCarAlarm: function drawCarAlarm(carAlarmList) {
      var _this6 = this;
      this.allCarAlarmMarker = [];
      carAlarmList.forEach(function (item) {
        _this6.reverseGeocode(new AMap.LngLat(item.longitude1, item.latitude1), function (address) {
          _this6.drawOneCarAlarmMarker(item, address);
        });
      });
    },
    drawOneCarAlarmMarker: function drawOneCarAlarmMarker(item, address) {
      var _this7 = this;
      var icon = new window.AMap.Icon({
        image: car_fence_alert,
        imageSize: new window.AMap.Size(30, 48)
      });
      var markerCenter = new AMap.LngLat(item.longitude1, item.latitude1);
      var marker = new window.AMap.Marker({
        position: markerCenter,
        offset: new AMap.Pixel(-15, -45),
        zIndex: 100,
        icon: icon
      });
      marker.on('click', function (e) {
        _this7.addAMapInfoWindow(item, address, e);
      });
      this.map.add(marker);
      this.allCarAlarmMarker.push(marker);
    },
    getCarAlarmHHMMSSTime: function getCarAlarmHHMMSSTime(time) {
      if (time) {
        var tmp = time.split(' ');
        return tmp.length > 1 ? tmp[1] : time;
      }
      return '';
    },
    secondsToTime: function secondsToTime(seconds) {
      var hours = Math.floor(seconds / 3600); // 计算小时
      var minutes = Math.floor(seconds % 3600 / 60); // 计算分钟
      var remainingSeconds = seconds % 60; // 计算剩余的秒

      var res = '';
      if (hours > 0) {
        res = "".concat(hours, "\u65F6");
      }
      if (minutes > 0) {
        res = res + "".concat(minutes, "\u5206");
      }
      if (remainingSeconds > 0) {
        res = res + "".concat(remainingSeconds, "\u79D2");
      }
      return res;
    },
    reverseGeocode: function reverseGeocode(lnglat, callback) {
      var _this8 = this;
      // 使用逆地理编码 API
      var geocoder = new AMap.Geocoder();
      // 根据经纬度反查地址
      geocoder.getAddress(lnglat, function (status, result) {
        if (status === "complete" && result.info === "OK") {
          var addressComponent = result.regeocode.addressComponent; // 地址组件
          var formattedAddress = _this8.formatAddress(addressComponent, result.regeocode.formattedAddress); // 格式化地址
          callback(formattedAddress); // 更新地址信息
        } else {
          callback('');
        }
      });
    },
    formatAddress: function formatAddress(addressComponent, formattedAddress) {
      // 去掉省份和城市
      var province = addressComponent.province; // 省份
      var city = addressComponent.city; // 城市
      var district = addressComponent.district; // 区县

      // 去掉省份和城市后的地址
      var address = formattedAddress.replace(province, "").replace(city, "").replace(district, "").trim();

      // 去掉多余的逗号或空格
      address = address.replace(/^,+/g, "").trim();
      return address;
    },
    drawCarAlarmTrack: function drawCarAlarmTrack(carAlarmList, carTrackList) {
      if (carAlarmList.length <= 0 || carTrackList.length <= 0) {
        return;
      }
      for (var i = 0, len = carAlarmList.length; i < len; i++) {
        var startTimestamp = this.timeToTimestamp(carAlarmList[i].trackTime1);
        var endTimestamp = this.timeToTimestamp(carAlarmList[i].trackTime2);
        var carAlarmTrack = this.getOneCarAlarmTrack(startTimestamp, endTimestamp, carTrackList);
        //这里不绘制，统一由下边添加绘制
        this.drawOneCarAlarmTrack(i, carAlarmTrack);
      }
      this.carAlarmPathSimplifier.setData(this.carAlarmPaths);
    },
    drawOneCarAlarmTrack: function drawOneCarAlarmTrack(index, carAlarmTrack) {
      var data = carAlarmTrack.flat().map(function (item) {
        item.trackTime = dayjs_min_default()(item.trackTime).valueOf();
        return item;
      });
      // 对结果进行排序，按照geo的时间顺序升序排列， 时间由早到晚
      data = this.$lodash.orderBy(data, 'trackTime', 'asc');
      var path = data.map(function (item) {
        return [item.longitude, item.latitude];
      });
      this.carAlarmPaths.push({
        name: 'alarmTrack_' + index,
        path: path
      });
    },
    getOneCarAlarmTrack: function getOneCarAlarmTrack(startTime, endTime, carTrackList) {
      var _this9 = this;
      return carTrackList.filter(function (item) {
        var tmpTime = _this9.timeToTimestamp(item.trackTime);
        return tmpTime >= startTime && tmpTime <= endTime;
      });
    },
    // 将时间字符串转换为时间戳
    timeToTimestamp: function timeToTimestamp(time) {
      return new Date(time).getTime();
    },
    /**
     * 获取电子围栏
     */
    getElFence: function getElFence() {
      var _this0 = this;
      Object(request["kb" /* getScopePoints */])(this.mapCurrentData.tririgaCode, dayjs_min_default()(this.currentDate).format('YYYY-MM-DD')).then(function (res) {
        _this0.drawElFence(res.data || []);
      });
    },
    drawElFence: function drawElFence(rangeList) {
      var _this1 = this;
      if (rangeList.length <= 0) {
        return;
      }
      rangeList.forEach(function (item) {
        // ["[[114.059121,22.572693],[114.060804,22.572715]]","[[114.059121,22.572693],[114.060804,22.572715]]","[[114.059121,22.572693],[114.060804,22.572715]]"]
        var tmpRange = JSON.parse(item);
        tmpRange.forEach(function (item2) {
          var path = JSON.parse(item2);
          //这里只做添加不做绘制，统一由下边添加绘制
          _this1.carElFenceRanges.push(new AMap.Polygon(Object(objectSpread2["a" /* default */])({
            path: path
          }, carElFencePolygonOptions)));
        });
      });

      //集中添加绘制
      this.map.add(this.carElFenceRanges);

      //这时候检查电子围栏是否要显示
      if (!this.curLayers.includes('range')) {
        this.carElFenceRanges.forEach(function (item) {
          item.hide();
        });
      } else {
        this.carElFenceRanges.forEach(function (item) {
          item.show();
        });
      }
    },
    //清除地图的告警数据和电子范围
    clearMapAlarmRangeLayer: function clearMapAlarmRangeLayer() {
      //1、移除历史告警路线
      this.carAlarmPaths = [];
      if (this.carAlarmPathSimplifier) {
        this.carAlarmPathSimplifier.setData([]); //清空历史告警线
      }
      //2、移除历史告警点
      this.map.remove(this.allCarAlarmMarker || []);
      this.allCarAlarmMarker = [];

      //3、移除电子范围
      this.map.remove(this.carElFenceRanges || []);
      this.carElFenceRanges = [];
    },
    addAMapInfoWindow: function addAMapInfoWindow(item, address, e) {
      var _this10 = this;
      var tmpMap = this.map;
      var timeStart = this.getCarAlarmHHMMSSTime(item.trackTime1);
      var timeEnd = this.getCarAlarmHHMMSSTime(item.trackTime2);
      var overTime = this.secondsToTime(item.overTime);
      //信息窗体的内容
      var content = "\n            <div style=\"width: 246px; height: 100%; background: white;padding:12px 16px;box-sizing: border-box;font-family: Arial, sans-serif;border-radius: 4px;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);\">\n                <div style=\"display: flex; justify-content: space-between;\">\n                    <span class=\"left\" style=\"font-size: 14px; color: #FF4D4F;\">\u8F66\u8F86\u8D85\u51FA\u7535\u5B50\u56F4\u680F".concat(item.offsetRange, "\u7C73</span>\n                    <span class=\"right\" style=\"font-size: 11px; color: rgba(0,0,0,0.85);\">").concat(item.speed1, "Km/h</span>\n                </div>\n                <div style=\"font-size: 14px;color: rgba(0,0,0,0.85);\">").concat(timeStart, "-").concat(timeEnd, "\uFF08\u6301\u7EED").concat(overTime, "\uFF09</div>\n                <div style=\"font-size: 14px;color: rgba(0,0,0,0.45);\">").concat(address, "</div>\n            </div>");
      var infoWindow = new window.AMap.InfoWindow({
        isCustom: true,
        //使用自定义窗体
        content: content,
        anchor: "bottom-center",
        autoSetFitView: false,
        // 禁用自动调整大小
        offset: new AMap.Pixel(0, -40)
      });
      //打开信息窗体
      infoWindow.open(tmpMap, e.target.getPosition());
      this.mapInfoWindow.push(infoWindow);

      // 关闭弹框，不能使用 closeWhenClickMap: true
      // 这个是必须点击地图才有用。点击marker或者页面其他非地图元素无效

      document.removeEventListener('click', this.addCloseInfoWindowEvent);

      // // 要延时100ms
      setTimeout(function () {
        //添加全局点击事件
        document.addEventListener('click', _this10.addCloseInfoWindowEvent);
      }, 100);
    },
    addCloseInfoWindowEvent: function addCloseInfoWindowEvent(e) {
      var divs = document.getElementsByClassName('amap-info-contentContainer');
      if (!divs) {
        return;
      }
      var isClickInside = false;
      for (var i = 0; i < divs.length; i++) {
        // 检查点击是否在信息窗口内部
        isClickInside = divs[i].contains(e.target);
        if (isClickInside) {
          break;
        }
      }
      if (!isClickInside && this.mapInfoWindow) {
        this.mapInfoWindow.forEach(function (item) {
          return item.close();
        });
        this.mapInfoWindow = [];
      }
    }
  } //end methods
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/car.vue?vue&type=script&lang=js
 /* harmony default export */ var trajectoryMap_carvue_type_script_lang_js = (carvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/trajectoryMap/car.vue?vue&type=style&index=0&id=8d709ac6&prod&lang=less&scoped=true
var carvue_type_style_index_0_id_8d709ac6_prod_lang_less_scoped_true = __webpack_require__("7f37");

// EXTERNAL MODULE: ./src/pages/trajectoryMap/car.vue?vue&type=style&index=1&id=8d709ac6&prod&lang=css
var carvue_type_style_index_1_id_8d709ac6_prod_lang_css = __webpack_require__("ae7f");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/car.vue







/* normalize component */

var car_component = Object(componentNormalizer["a" /* default */])(
  trajectoryMap_carvue_type_script_lang_js,
  carvue_type_template_id_8d709ac6_scoped_true_render,
  carvue_type_template_id_8d709ac6_scoped_true_staticRenderFns,
  false,
  null,
  "8d709ac6",
  null
  
)

/* harmony default export */ var car = (car_component.exports);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/person.vue?vue&type=template&id=72099da8&scoped=true
var personvue_type_template_id_72099da8_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:(_vm.fullscreenLoading),expression:"fullscreenLoading",modifiers:{"fullscreen":true,"lock":true}}],staticClass:"trajectoryMapBody",class:{ 'screen-shot': _vm.isShowScreen }},[_c('headerBar',{attrs:{"mapCurrentData":_vm.mapCurrentData},on:{"close":_vm.closePage},scopedSlots:_vm._u([{key:"title",fn:function(){return [_c('span',[_vm._v(_vm._s(_vm.mapCurrentData.nickname || _vm.mapCurrentData.name))]),_c('span',[_vm._v(_vm._s(_vm.mapCurrentData.userType))])]},proxy:true},{key:"btns",fn:function(){return [_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":"轨迹截图","placement":"top-start"}},[_c('i',{staticClass:"el-icon-camera",on:{"click":_vm.captureScreenShot}})]),_c('el-tooltip',{staticClass:"item",attrs:{"effect":"dark","content":"导出轨迹","placement":"top-start"}},[_c('i',{staticClass:"el-icon-download",on:{"click":_vm.downloadGeolocation}})])]},proxy:true}])}),_c('div',{attrs:{"id":"trajectoryMapContainer"}}),_c('footerBar',{attrs:{"duration":_vm.duration,"navgStatus":_vm.navgStatus,"currentProject":_vm.currentProject,"mapCurrentData":_vm.mapCurrentData},on:{"update:duration":function($event){_vm.duration=$event},"timeChange":_vm.selectionDateChange,"durationChange":_vm.durationChange,"start":_vm.play,"stop":_vm.stopMove},scopedSlots:_vm._u([{key:"time-select",fn:function(){return [_c('time-selector',{staticStyle:{"width":"85%"},attrs:{"geo":_vm.path,"position":_vm.timeSliderPosition,"selectedDate":_vm.currentDate,"incidentList":_vm.incidentList,"is-format-tooltip":""},on:{"timeStampChange":_vm.onTimeStampChange}})]},proxy:true}]),model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:"currentDate"}}),_c('div',{staticClass:"check-detail-btn",class:{ active: _vm.isShowRight },on:{"click":function($event){_vm.isShowRight = !_vm.isShowRight}}},[_vm._v("\n    "+_vm._s(_vm.isShowRight ? '关闭详情' : '查看详情')+"\n  ")]),(_vm.isShowRight)?_c('rightDetails',{attrs:{"originData":_vm.originDetailData,"mapCurrentData":_vm.mapCurrentData},on:{"itemClick":_vm.onDetailClick}}):_vm._e(),(_vm.mapCurrentData.source == 'laborOperation')?_c('layer-card',{attrs:{"source":"person"},on:{"change":_vm.handleLayerChange}}):_vm._e(),_c('div',{ref:"markerContent",staticClass:"custom-content-marker"},[_c('img',{attrs:{"src":__webpack_require__("4fad0")}}),_c('div',{staticClass:"close-btn",on:{"click":_vm.clearMarker}},[_vm._v("X")])])],1)
}
var personvue_type_template_id_72099da8_scoped_true_staticRenderFns = []


// CONCATENATED MODULE: ./src/pages/trajectoryMap/person.vue?vue&type=template&id=72099da8&scoped=true

// EXTERNAL MODULE: ./src/utils/exportUtils.js
var exportUtils = __webpack_require__("91b6");

// EXTERNAL MODULE: ./src/axios/emergency.js
var emergency = __webpack_require__("b320");

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/person.vue?vue&type=script&lang=js































var MARKER_TYPE_WARNING = 'warning'; // 点位告警类型laborOperation
var MARKER_TYPE_FINAL = 'final'; // 点位最后上报

var geoc = new window.AMap.Geocoder();
// 计划路线公共配置
var personvue_type_script_lang_js_planPolylineOptions = {
  strokeColor: '#A82D2E',
  strokeOpacity: 1,
  showDir: false,
  strokeWeight: 5,
  lineJoin: 'round',
  lineCap: 'round',
  // isOutline: true, // 描边
  // borderWeight: 2,
  // outlineColor: '#fff',
  zIndex: 50
};
/* harmony default export */ var personvue_type_script_lang_js = ({
  mixins: [commonMixins, pathSimplifierMixins, screenShot],
  props: ['mapCurrentData', 'currentProject'],
  components: {
    timeSelector: timeSelector,
    rightDetails: rightDetails,
    headerBar: headerBar,
    footerBar: footerBar,
    layerCard: layerCard
  },
  data: function data() {
    return {
      fullscreenLoading: false,
      isShowScreen: false,
      // 时间控制条（滑块）的位置
      timeSliderPosition: {
        second: 0
      },
      map: null,
      // 地图api实例
      navgStatus: NAVG_STATUS_DEFAULT,
      // 0 初始状态 1运行状态  2暂停状态
      isShowRight: false,
      duration: 500,
      zoom: 14,
      path: [],
      currentDate: '',
      originDetailData: [],
      pointList: [],
      curLayers: ['plan', 'drive'],
      planPolylines: [],
      incidentList: [],
      userGridList: [],
      mapToolTips: null,
      cancelToken: null,
      // 取消请求
      teimObj: {}
    };
  },
  methods: {
    closePage: function closePage() {
      this.$emit('close', false);
    },
    // 地图加载完成回调
    afterMapMount: function afterMapMount() {
      this.getTrajectory();
      this.getUserIncident();
      if (this.mapCurrentData.source == 'laborOperation') {
        this.getPlanPolyline();
      }
    },
    /**
     * @description 当前选择的时间范围内的 具体日期 的开始时间
     * @description 根据需求描述，仅需持当天时间范围内的查询和展示
     * **/
    getTrajectory: function getTrajectory() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var startTime, endTime, source, params, res, msg, _t;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              if (_this.cancelToken) _this.cancelToken.cancel('取消请求');
              if (_this.startMarker) {
                _this.map.remove(_this.startMarker);
              }
              if (_this.endMarker) {
                _this.map.remove(_this.endMarker);
              }
              // 需要判断参数传入的时间类型是否是timestamp
              // 优先顺序：参数 > 缓存选择时间 > 默认时间
              console.log(_this.teimObj, 9000);
              startTime = _this.teimObj.startTime ? dayjs_min_default()(_this.teimObj.startTime).valueOf() : dayjs_min_default()(_this.currentDate).valueOf();
              endTime = _this.teimObj.endTime ? dayjs_min_default()(_this.teimObj.endTime).valueOf() : dayjs_min_default()(_this.currentDate).endOf('day').valueOf();
              if (!(endTime < startTime)) {
                _context.next = 1;
                break;
              }
              _this.$message({
                type: 'warning',
                message: '结束时间不能早于开始时间'
              });
              return _context.abrupt("return");
            case 1:
              source = axios_default.a.CancelToken.source();
              _this.cancelToken = source;
              params = {
                id: _this.mapCurrentData.id,
                startTime: startTime,
                endTime: endTime,
                cancelToken: source.token
              };
              console.log('this.mapCurrentData.source', _this.mapCurrentData.source, !_this.mapCurrentData.source == 'laborOperation');
              if (_this.mapCurrentData.source != 'laborOperation') {
                _this.getUserGrid(Object.assign({}, params, {
                  triUserCode: _this.mapCurrentData.tririgaCode
                }));
              }
              _context.prev = 2;
              if (_this.mapCurrentData.source == 'laborOperation') {
                Object.assign(params, {
                  tririgaCode: _this.mapCurrentData.tririgaCode
                });
              }
              _context.next = 3;
              return Object(request["bb" /* getPersonTrajectoryData */])(params);
            case 3:
              res = _context.sent;
              _context.next = 5;
              break;
            case 4:
              _context.prev = 4;
              _t = _context["catch"](2);
              console.error(_t);
            case 5:
              if (!(res.success && res.data.length)) {
                _context.next = 6;
                break;
              }
              _this.trajectoryFormat(res.data || []);
              _this.clearFinalMarker();
              _context.next = 7;
              break;
            case 6:
              _this.trajectoryFormat([]);
              _this.getFinalPoint();
              msg = _this.mapCurrentData.facilityType || _this.mapCurrentData.type;
              msg && _this.$message({
                type: 'warning',
                message: "\u5F53\u524D".concat(msg, "\u6CA1\u6709\u8F68\u8FF9\uFF01"),
                showClose: true
              });
              return _context.abrupt("return");
            case 7:
              // 生成起始marker
              _this.initMarker();
              _this.initEndMarker();
              // 画出默认的完整轨迹
              if (!_this.passWayPolyline) {
                _this.createPathSimplifierIns();
              }
              _this.passWayPolyline.setData([{
                name: '路径1',
                path: _this.pointList
              }]);
              // 设置时间轴默认的起始点为当前数据的第一个点
              _this.timeSliderPosition = _this.path[0];
            case 8:
            case "end":
              return _context.stop();
          }
        }, _callee, null, [[2, 4]]);
      }))();
    },
    // 手动选择日期时间
    selectionDateChange: function selectionDateChange(val) {
      // 取消自动播放
      this.teimObj = val;
      this.isStartPolyLine = false;
      // 日志切换，清空slider
      this.timeSliderPosition = {
        second: 0
      };
      this.setNavgEnd();
      this.clearPassWay();
      this.getTrajectory();
      this.getUserIncident();
      if (this.mapCurrentData.source == 'laborOperation') {
        this.getPlanPolyline();
      }
    },
    // 导出当前选择时间的轨迹数据
    downloadGeolocation: function downloadGeolocation() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var startTime, endTime, params;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _this2.fullscreenLoading = true;
              startTime = _this2.teimObj.startTime ? dayjs_min_default()(_this2.teimObj.startTime).valueOf() : dayjs_min_default()(_this2.currentDate).valueOf();
              endTime = _this2.teimObj.endTime ? dayjs_min_default()(_this2.teimObj.endTime).valueOf() : dayjs_min_default()(_this2.currentDate).endOf('day').valueOf();
              params = {
                tririgaCode: _this2.mapCurrentData.tririgaCode,
                id: _this2.mapCurrentData.userId || _this2.mapCurrentData.id,
                startTime: startTime,
                endTime: endTime
              };
              _context2.next = 1;
              return _this2.$https.$axios.post("wwy-us-rm/user/track/export", params, {
                responseType: 'blob'
              }).then(function (res) {
                if (res.code !== 0 && res.msg) {
                  _this2.$message({
                    showClose: true,
                    message: res.msg,
                    type: 'warning',
                    customClass: 'zZindex'
                  });
                } else {
                  if (!res) {
                    return;
                  }
                  Object(exportUtils["b" /* exportBlob */])(res);
                }
              });
            case 1:
              _this2.fullscreenLoading = false;
            case 2:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    findIncident: function findIncident(timeData) {
      var start = dayjs_min_default()(this.currentDate).startOf('day').unix(); // 今天开始的秒
      var selectedTime = dayjs_min_default.a.unix(start + timeData.second).format('YYYY-MM-DDTHH:mm'); // 选中的告警时间
      var incidentItem = this.incidentList.find(function (item) {
        return selectedTime === dayjs_min_default()(item.warnTime).format('YYYY-MM-DDTHH:mm');
      });
      if (incidentItem) {
        var longitude = incidentItem.longitude,
          latitude = incidentItem.latitude;
        this.map.setCenter([longitude, latitude]); // 设置地图中心点
        this.openMapToolTips(Object(objectSpread2["a" /* default */])({}, incidentItem));
      }
    },
    getUserGrid: function getUserGrid(params) {
      var _this3 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        var res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              if (!_this3.mapCurrentData.scheduleId) {
                _context3.next = 2;
                break;
              }
              _context3.next = 1;
              return Object(request["sb" /* getUserGridListNew */])({
                scheduleId: _this3.mapCurrentData.scheduleId
              });
            case 1:
              res = _context3.sent;
              _context3.next = 4;
              break;
            case 2:
              _context3.next = 3;
              return Object(request["rb" /* getUserGridList */])(params);
            case 3:
              res = _context3.sent;
            case 4:
              if (res.success) {
                _this3.userGridList.length && _this3.map.remove(_this3.userGridList);
                _this3.userGridList = _this3.formatGridPolygon(res.data) || [];
                _this3.userGridList.length && _this3.map.add(_this3.userGridList);
              }
            case 5:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }))();
    },
    // 获取车辆计划路线
    getPlanPolyline: function getPlanPolyline() {
      var _this4 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee4() {
        var params, res, roads;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context4) {
          while (1) switch (_context4.prev = _context4.next) {
            case 0:
              params = {
                projectId: _this4.mapCurrentData.projectId || _this4.currentProject.id,
                userTririgaCode: _this4.mapCurrentData.tririgaCode,
                projectIds: _this4.currentProject.projectIds,
                startTimeBegin: dayjs_min_default()(_this4.currentDate).format('YYYY-MM-DD 00:00:00'),
                startTimeEnd: dayjs_min_default()(_this4.currentDate).format('YYYY-MM-DD 23:59:59')
              };
              _context4.next = 1;
              return Object(emergency["c" /* getPlanLineScope */])(params);
            case 1:
              res = _context4.sent;
              roads = res.data || [];
              _this4.map.remove(_this4.planPolylines || []);
              _this4.planPolylines = [];
              roads.forEach(function (item) {
                var pathStr = item;
                if (!pathStr) {
                  return;
                }
                var paths = [pathStr];
                if (pathStr.includes(';')) {
                  // 兼容多个图形
                  paths = pathStr.split(';');
                }
                paths.forEach(function (pathItem) {
                  var roadList = JSON.parse(pathItem);
                  var path = roadList.map(function (ele) {
                    return new window.AMap.LngLat(ele[0], ele[1]);
                  });
                  var polyline = new window.AMap.Polyline(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, personvue_type_script_lang_js_planPolylineOptions), {}, {
                    path: path
                  }));
                  polyline.on('mouseover', function (e) {
                    e.target.setOptions({
                      strokeOpacity: 0.7
                    });
                  });
                  polyline.on('mouseout', function (e) {
                    e.target.setOptions({
                      strokeOpacity: 1
                    });
                  });
                  _this4.planPolylines.push(polyline);
                });
              });
              _this4.map.add(_this4.planPolylines);
              _this4.map.setFitView(_this4.planPolylines, false, [100, 150, 60, 60]);
            case 2:
            case "end":
              return _context4.stop();
          }
        }, _callee4);
      }))();
    },
    handleLayerChange: function handleLayerChange(vals) {
      this.curLayers = vals;
      // 计划路线
      if (!vals.includes('plan')) {
        this.planPolylines.forEach(function (item) {
          item.hide();
        });
      } else {
        this.planPolylines.forEach(function (item) {
          item.show();
        });
      }

      // 行驶路线
      if (!vals.includes('drive')) {
        this.setNavgEnd();
        this.clearPassWay();
      } else if (this.navgStatus === NAVG_STATUS_DEFAULT) {
        var _this$passWayPolyline;
        (_this$passWayPolyline = this.passWayPolyline) === null || _this$passWayPolyline === void 0 || _this$passWayPolyline.setData([{
          name: '路径1',
          path: this.pointList
        }]);
      }
    },
    // 网格列表
    formatGridPolygon: function formatGridPolygon(data) {
      return data.map(function (g) {
        var scopePoints = g.scopePoints,
          color = g.color;
        return new window.AMap.Polygon({
          strokeColor: color,
          // 边线颜色
          strokeWeight: 2,
          // 边线的宽度
          strokeOpacity: 1,
          fillColor: color,
          // data.color, // 填充颜色
          fillOpacity: 0.05,
          // 填充的透明度
          path: scopePoints ? JSON.parse(scopePoints) : []
        });
      });
    },
    getUserIncident: function getUserIncident() {
      var _this5 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee5() {
        var startTime, endTime, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context5) {
          while (1) switch (_context5.prev = _context5.next) {
            case 0:
              startTime = _this5.teimObj.startTime ? dayjs_min_default()(_this5.teimObj.startTime).format('YYYY-MM-DDTHH:mm:ss') : dayjs_min_default()(_this5.currentDate).startOf('day').format('YYYY-MM-DDTHH:mm:ss');
              endTime = _this5.teimObj.endTime ? dayjs_min_default()(_this5.teimObj.endTime).format('YYYY-MM-DDTHH:mm:ss') : dayjs_min_default()(_this5.currentDate).endOf('day').format('YYYY-MM-DDTHH:mm:ss');
              _context5.next = 1;
              return Object(dispatchRequest["listUserIncident"])({
                projectIds: _this5.currentProject.projectIds,
                userTririgaCode: _this5.mapCurrentData.tririgaCode,
                incidentSources: [93, 33, 5, 48],
                //93 坐岗告警，33 工牌低电量，5/48 人员离岗告警，
                startTime: startTime,
                endTime: endTime
              });
            case 1:
              res = _context5.sent;
              if (res.success) {
                _this5.incidentList = res.data || [];
                _this5.createWarningMarker(_this5.incidentList);
              }
            case 2:
            case "end":
              return _context5.stop();
          }
        }, _callee5);
      }))();
    },
    createWarningMarker: function createWarningMarker() {
      var _this6 = this;
      var markerList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
      // step1 先清除旧点位
      var oldOverlays = this.getOverlaysById(MARKER_TYPE_WARNING, 'type');
      if (oldOverlays.length) {
        this.map.remove(oldOverlays);
      }
      // step2 创建新点位
      markerList.forEach(function (item) {
        var icon = new window.AMap.Icon({
          image: icon_map_alert["a" /* default */],
          // Icon的图像
          // size: new window.AMap.Size(24, 24), // 图标尺寸
          imageSize: new window.AMap.Size(10, 10) // 根据所设置的大小拉伸或压缩图片
        });
        var position = [item.longitude, item.latitude];
        var warningMarker = new window.AMap.Marker({
          map: _this6.map,
          position: position,
          icon: icon,
          offset: new window.AMap.Pixel(-5, -5),
          zIndex: 99,
          extData: {
            type: MARKER_TYPE_WARNING
          }
        });
        warningMarker.on('click', function (e) {
          // 执行回调
          _this6.openMapToolTips(Object(objectSpread2["a" /* default */])({}, item));
        });
        // warningMarker.on('mouseout', e => {
        //   this.mapToolTips && this.mapToolTips.close();
        // });
      });
    },
    openMapToolTips: function openMapToolTips(markerData) {
      if (!markerData.longitude || !markerData.latitude) {
        return;
      }
      if (!this.mapToolTips) {
        this.mapToolTips = new window.AMap.InfoWindow({
          anchor: 'bottom-center',
          // isCustom: true,
          autoMove: true,
          closeWhenClickMap: true,
          // 点击地图关闭信息窗体
          offset: new window.AMap.Pixel(0, -10)
        });
      }
      var content = this.getToolTipsContent(markerData);
      this.mapToolTips.setContent(content);
      this.mapToolTips.open(this.map, new window.AMap.LngLat(markerData.longitude, markerData.latitude));
    },
    getToolTipsContent: function getToolTipsContent(info) {
      var power = parseInt(info.devicePower) || 0;
      var content = ["<div class=\"map-window__wrapper\">", "<div class=\"alert-info\">\n            <span class=\"alert-title\" title=\"".concat(info.incidentTitle, "\">").concat(info.incidentTitle, "</span>\n            <div class=\"battery-info\">\n              <label>").concat(power, "%</label>\n              <div class=\"battery ").concat(power > 20 ? '' : 'low-power', "\">\n                <div class=\"battery-level\" style=\"width: ").concat(power, "%\"></div>\n              </div>\n            </div>\n          </div>"), "<div class=\"alert-time\">".concat(dayjs_min_default()(info.warnTime).format('YYYY-MM-DD HH:mm:ss'), "</div>"), "<div class=\"alert-position\" title=\"".concat(info.address, "\">").concat(info.address, "</div>"), '</div>'];
      return content.join('');
    },
    getFinalPoint: function getFinalPoint() {
      var _this7 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee6() {
        var res, _res$data, trackTime, longitude, latitude, addr;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function (_context6) {
          while (1) switch (_context6.prev = _context6.next) {
            case 0:
              _context6.next = 1;
              return Object(dispatchRequest["getUserLastTrackInfo"])({
                tririgaCode: _this7.mapCurrentData.tririgaCode,
                queryTime: dayjs_min_default()(_this7.currentDate).format('YYYY-MM-DD')
              });
            case 1:
              res = _context6.sent;
              if (!(res.success && res.data)) {
                _context6.next = 4;
                break;
              }
              _res$data = res.data, trackTime = _res$data.trackTime, longitude = _res$data.longitude, latitude = _res$data.latitude;
              if (!(!longitude || !latitude)) {
                _context6.next = 2;
                break;
              }
              return _context6.abrupt("return");
            case 2:
              _this7.map.setCenter([longitude, latitude]); // 设置地图中心点
              _context6.next = 3;
              return _this7.getAddr(longitude, latitude);
            case 3:
              addr = _context6.sent;
              _this7.createFinalMarker({
                trackTime: trackTime,
                longitude: longitude,
                latitude: latitude,
                addr: addr
              });
            case 4:
            case "end":
              return _context6.stop();
          }
        }, _callee6);
      }))();
    },
    getAddr: function getAddr(longitude, latitude) {
      return new Promise(function (resolve) {
        geoc.getAddress([longitude, latitude], function (status, result) {
          if (status === 'complete' && result.regeocode) {
            resolve(result.regeocode.formattedAddress);
          }
        });
      });
    },
    clearFinalMarker: function clearFinalMarker() {
      var oldOverlays = this.getOverlaysById(MARKER_TYPE_FINAL, 'type');
      if (oldOverlays.length) {
        this.map.remove(oldOverlays);
      }
    },
    createFinalMarker: function createFinalMarker(info) {
      var _this8 = this;
      // step1 先清除旧点位
      this.clearFinalMarker();
      // step2 创建新点位
      var position = [info.longitude, info.latitude];
      var finalMarker = new window.AMap.Marker({
        position: position,
        icon: __webpack_require__("edde"),
        size: new window.AMap.Size(50, 50),
        offset: new window.AMap.Pixel(-25, -50),
        zIndex: 99,
        extData: {
          type: MARKER_TYPE_FINAL
        }
      });
      this.map.add(finalMarker);
      var finalWindow = new window.AMap.InfoWindow({
        anchor: 'bottom-center',
        isCustom: true,
        autoMove: false,
        closeWhenClickMap: false,
        // 点击地图关闭信息窗体
        offset: new window.AMap.Pixel(0, -50)
      });
      var content = this.getFinalContent(info);
      finalWindow.setContent(content);
      finalMarker.on('mouseover', function () {
        finalWindow.open(_this8.map, new window.AMap.LngLat(position[0], position[1]));
      });
      finalMarker.on('mouseout', function () {
        finalWindow.close();
      });
    },
    getFinalContent: function getFinalContent(info) {
      var content = ["<div class=\"final-window__wrapper\">", "<div class=\"final-time\">\u6700\u65B0\u65F6\u95F4\uFF1A".concat(info.trackTime, "</div>"), "<div class=\"final-position\">".concat(info.addr, "</div>"), '</div>'];
      return content.join('');
    }
  }
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/person.vue?vue&type=script&lang=js
 /* harmony default export */ var trajectoryMap_personvue_type_script_lang_js = (personvue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/trajectoryMap/person.vue?vue&type=style&index=0&id=72099da8&prod&lang=less&scoped=true
var personvue_type_style_index_0_id_72099da8_prod_lang_less_scoped_true = __webpack_require__("449f");

// EXTERNAL MODULE: ./src/pages/trajectoryMap/person.vue?vue&type=style&index=1&id=72099da8&prod&lang=css
var personvue_type_style_index_1_id_72099da8_prod_lang_css = __webpack_require__("e722");

// CONCATENATED MODULE: ./src/pages/trajectoryMap/person.vue







/* normalize component */

var person_component = Object(componentNormalizer["a" /* default */])(
  trajectoryMap_personvue_type_script_lang_js,
  personvue_type_template_id_72099da8_scoped_true_render,
  personvue_type_template_id_72099da8_scoped_true_staticRenderFns,
  false,
  null,
  "72099da8",
  null
  
)

/* harmony default export */ var person = (person_component.exports);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/trajectoryMap/index.vue?vue&type=script&lang=js


/* harmony default export */ var trajectoryMapvue_type_script_lang_js = ({
  props: ['mapCurrentData', 'currentProject'],
  components: {
    Car: car,
    Person: person
  },
  data: function data() {
    return {};
  },
  methods: {
    closePage: function closePage() {
      this.$emit('trajectorClose', false);
    }
  }
});
// CONCATENATED MODULE: ./src/pages/trajectoryMap/index.vue?vue&type=script&lang=js
 /* harmony default export */ var pages_trajectoryMapvue_type_script_lang_js = (trajectoryMapvue_type_script_lang_js); 
// CONCATENATED MODULE: ./src/pages/trajectoryMap/index.vue





/* normalize component */

var trajectoryMap_component = Object(componentNormalizer["a" /* default */])(
  pages_trajectoryMapvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "54fe31f4",
  null
  
)

/* harmony default export */ var trajectoryMap = __webpack_exports__["a"] = (trajectoryMap_component.exports);

/***/ }),

/***/ "4fad0":
/***/ (function(module, exports) {

module.exports = ""

/***/ }),

/***/ "5187":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "5377":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var DESCRIPTORS = __webpack_require__("83ab");
var defineBuiltInAccessor = __webpack_require__("edd0");
var regExpFlagsDetection = __webpack_require__("0f33");
var regExpFlagsGetterImplementation = __webpack_require__("ad6d");

// `RegExp.prototype.flags` getter
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
if (DESCRIPTORS && !regExpFlagsDetection.correct) {
  defineBuiltInAccessor(RegExp.prototype, 'flags', {
    configurable: true,
    get: regExpFlagsGetterImplementation
  });

  regExpFlagsDetection.correct = true;
}


/***/ }),

/***/ "5895":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_timeSelector_vue_vue_type_style_index_1_id_7cd052b4_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e071");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_timeSelector_vue_vue_type_style_index_1_id_7cd052b4_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_timeSelector_vue_vue_type_style_index_1_id_7cd052b4_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "5a0a":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "5b27":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_headerBar_vue_vue_type_style_index_0_id_94dbf55e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("75d3");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_headerBar_vue_vue_type_style_index_0_id_94dbf55e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_headerBar_vue_vue_type_style_index_0_id_94dbf55e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "5bc3":
/***/ (function(module, exports, __webpack_require__) {

var toPropertyKey = __webpack_require__("a395");
function _defineProperties(e, r) {
  for (var t = 0; t < r.length; t++) {
    var o = r[t];
    o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
  }
}
function _createClass(e, r, t) {
  return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
    writable: !1
  }), e;
}
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "5cd1":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_timeSelector_vue_vue_type_style_index_0_id_7cd052b4_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8679");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_timeSelector_vue_vue_type_style_index_0_id_7cd052b4_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_timeSelector_vue_vue_type_style_index_0_id_7cd052b4_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "5dc2":
/***/ (function(module, exports) {

module.exports = ""

/***/ }),

/***/ "65c2":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_footerBar_vue_vue_type_style_index_1_id_0a3b965e_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("126d");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_footerBar_vue_vue_type_style_index_1_id_0a3b965e_prod_lang_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_footerBar_vue_vue_type_style_index_1_id_0a3b965e_prod_lang_less__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "6e98":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony default export */ __webpack_exports__["a"] = (__webpack_require__.p + "img/icon-map-alert.a4857afe.svg");

/***/ }),

/***/ "7037":
/***/ (function(module, exports) {

function _typeof(o) {
  "@babel/helpers - typeof";

  return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
    return typeof o;
  } : function (o) {
    return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
  }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
}
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "75d3":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "7d17":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_layerCard_vue_vue_type_style_index_0_id_06a70b02_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4052");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_layerCard_vue_vue_type_style_index_0_id_06a70b02_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_layerCard_vue_vue_type_style_index_0_id_06a70b02_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "7ec2":
/***/ (function(module, exports, __webpack_require__) {

var _typeof = __webpack_require__("7037")["default"];
function _regeneratorRuntime() {
  "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
    return e;
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  var t,
    e = {},
    r = Object.prototype,
    n = r.hasOwnProperty,
    o = Object.defineProperty || function (t, e, r) {
      t[e] = r.value;
    },
    i = "function" == typeof Symbol ? Symbol : {},
    a = i.iterator || "@@iterator",
    c = i.asyncIterator || "@@asyncIterator",
    u = i.toStringTag || "@@toStringTag";
  function define(t, e, r) {
    return Object.defineProperty(t, e, {
      value: r,
      enumerable: !0,
      configurable: !0,
      writable: !0
    }), t[e];
  }
  try {
    define({}, "");
  } catch (t) {
    define = function define(t, e, r) {
      return t[e] = r;
    };
  }
  function wrap(t, e, r, n) {
    var i = e && e.prototype instanceof Generator ? e : Generator,
      a = Object.create(i.prototype),
      c = new Context(n || []);
    return o(a, "_invoke", {
      value: makeInvokeMethod(t, r, c)
    }), a;
  }
  function tryCatch(t, e, r) {
    try {
      return {
        type: "normal",
        arg: t.call(e, r)
      };
    } catch (t) {
      return {
        type: "throw",
        arg: t
      };
    }
  }
  e.wrap = wrap;
  var h = "suspendedStart",
    l = "suspendedYield",
    f = "executing",
    s = "completed",
    y = {};
  function Generator() {}
  function GeneratorFunction() {}
  function GeneratorFunctionPrototype() {}
  var p = {};
  define(p, a, function () {
    return this;
  });
  var d = Object.getPrototypeOf,
    v = d && d(d(values([])));
  v && v !== r && n.call(v, a) && (p = v);
  var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
  function defineIteratorMethods(t) {
    ["next", "throw", "return"].forEach(function (e) {
      define(t, e, function (t) {
        return this._invoke(e, t);
      });
    });
  }
  function AsyncIterator(t, e) {
    function invoke(r, o, i, a) {
      var c = tryCatch(t[r], t, o);
      if ("throw" !== c.type) {
        var u = c.arg,
          h = u.value;
        return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
          invoke("next", t, i, a);
        }, function (t) {
          invoke("throw", t, i, a);
        }) : e.resolve(h).then(function (t) {
          u.value = t, i(u);
        }, function (t) {
          return invoke("throw", t, i, a);
        });
      }
      a(c.arg);
    }
    var r;
    o(this, "_invoke", {
      value: function value(t, n) {
        function callInvokeWithMethodAndArg() {
          return new e(function (e, r) {
            invoke(t, n, e, r);
          });
        }
        return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
      }
    });
  }
  function makeInvokeMethod(e, r, n) {
    var o = h;
    return function (i, a) {
      if (o === f) throw Error("Generator is already running");
      if (o === s) {
        if ("throw" === i) throw a;
        return {
          value: t,
          done: !0
        };
      }
      for (n.method = i, n.arg = a;;) {
        var c = n.delegate;
        if (c) {
          var u = maybeInvokeDelegate(c, n);
          if (u) {
            if (u === y) continue;
            return u;
          }
        }
        if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
          if (o === h) throw o = s, n.arg;
          n.dispatchException(n.arg);
        } else "return" === n.method && n.abrupt("return", n.arg);
        o = f;
        var p = tryCatch(e, r, n);
        if ("normal" === p.type) {
          if (o = n.done ? s : l, p.arg === y) continue;
          return {
            value: p.arg,
            done: n.done
          };
        }
        "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
      }
    };
  }
  function maybeInvokeDelegate(e, r) {
    var n = r.method,
      o = e.iterator[n];
    if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
    var i = tryCatch(o, e.iterator, r.arg);
    if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
    var a = i.arg;
    return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
  }
  function pushTryEntry(t) {
    var e = {
      tryLoc: t[0]
    };
    1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
  }
  function resetTryEntry(t) {
    var e = t.completion || {};
    e.type = "normal", delete e.arg, t.completion = e;
  }
  function Context(t) {
    this.tryEntries = [{
      tryLoc: "root"
    }], t.forEach(pushTryEntry, this), this.reset(!0);
  }
  function values(e) {
    if (e || "" === e) {
      var r = e[a];
      if (r) return r.call(e);
      if ("function" == typeof e.next) return e;
      if (!isNaN(e.length)) {
        var o = -1,
          i = function next() {
            for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
            return next.value = t, next.done = !0, next;
          };
        return i.next = i;
      }
    }
    throw new TypeError(_typeof(e) + " is not iterable");
  }
  return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
    value: GeneratorFunctionPrototype,
    configurable: !0
  }), o(GeneratorFunctionPrototype, "constructor", {
    value: GeneratorFunction,
    configurable: !0
  }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
    var e = "function" == typeof t && t.constructor;
    return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
  }, e.mark = function (t) {
    return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
  }, e.awrap = function (t) {
    return {
      __await: t
    };
  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
    return this;
  }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
    void 0 === i && (i = Promise);
    var a = new AsyncIterator(wrap(t, r, n, o), i);
    return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
      return t.done ? t.value : a.next();
    });
  }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
    return this;
  }), define(g, "toString", function () {
    return "[object Generator]";
  }), e.keys = function (t) {
    var e = Object(t),
      r = [];
    for (var n in e) r.push(n);
    return r.reverse(), function next() {
      for (; r.length;) {
        var t = r.pop();
        if (t in e) return next.value = t, next.done = !1, next;
      }
      return next.done = !0, next;
    };
  }, e.values = values, Context.prototype = {
    constructor: Context,
    reset: function reset(e) {
      if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
    },
    stop: function stop() {
      this.done = !0;
      var t = this.tryEntries[0].completion;
      if ("throw" === t.type) throw t.arg;
      return this.rval;
    },
    dispatchException: function dispatchException(e) {
      if (this.done) throw e;
      var r = this;
      function handle(n, o) {
        return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
      }
      for (var o = this.tryEntries.length - 1; o >= 0; --o) {
        var i = this.tryEntries[o],
          a = i.completion;
        if ("root" === i.tryLoc) return handle("end");
        if (i.tryLoc <= this.prev) {
          var c = n.call(i, "catchLoc"),
            u = n.call(i, "finallyLoc");
          if (c && u) {
            if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
            if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
          } else if (c) {
            if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
          } else {
            if (!u) throw Error("try statement without catch or finally");
            if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
          }
        }
      }
    },
    abrupt: function abrupt(t, e) {
      for (var r = this.tryEntries.length - 1; r >= 0; --r) {
        var o = this.tryEntries[r];
        if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
          var i = o;
          break;
        }
      }
      i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
      var a = i ? i.completion : {};
      return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
    },
    complete: function complete(t, e) {
      if ("throw" === t.type) throw t.arg;
      return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
    },
    finish: function finish(t) {
      for (var e = this.tryEntries.length - 1; e >= 0; --e) {
        var r = this.tryEntries[e];
        if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
      }
    },
    "catch": function _catch(t) {
      for (var e = this.tryEntries.length - 1; e >= 0; --e) {
        var r = this.tryEntries[e];
        if (r.tryLoc === t) {
          var n = r.completion;
          if ("throw" === n.type) {
            var o = n.arg;
            resetTryEntry(r);
          }
          return o;
        }
      }
      throw Error("illegal catch attempt");
    },
    delegateYield: function delegateYield(e, r, n) {
      return this.delegate = {
        iterator: values(e),
        resultName: r,
        nextLoc: n
      }, "next" === this.method && (this.arg = t), y;
    }
  }, e;
}
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "7f37":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_car_vue_vue_type_style_index_0_id_8d709ac6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("46ff");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_car_vue_vue_type_style_index_0_id_8d709ac6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_car_vue_vue_type_style_index_0_id_8d709ac6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "8679":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "91b6":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return exportBlob; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return exportAgency; });
/* harmony import */ var _azp_agent_work_5_s_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c7eb");
/* harmony import */ var _azp_agent_work_5_s_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("99af");
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("caad");
/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("e9c4");
/* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("b64b");
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("d3b7");
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("2532");
/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("3ca3");
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("ddb0");
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("2b3d");
/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_10__);
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("bf19");
/* harmony import */ var core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_to_json_js__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("9861");
/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_12__);
/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("88a7");
/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_13__);
/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("271a");
/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_14__);
/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("5494");
/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var _vuex_index__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("2846");
/* harmony import */ var _axios_dispatchRequest__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("4c80");
/* harmony import */ var _axios_index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("eeb9");
/* harmony import */ var ant_design_vue__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("f64c");





















var exportBlob = /*#__PURE__*/function () {
  var _ref = Object(_azp_agent_work_5_s_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(/*#__PURE__*/Object(_azp_agent_work_5_s_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().mark(function _callee(res, name) {
    var _res$headers$content;
    var resInfo, blob, fileName, url, link;
    return Object(_azp_agent_work_5_s_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])().wrap(function (_context) {
      while (1) switch (_context.prev = _context.next) {
        case 0:
          if (!((_res$headers$content = res.headers['content-type']) !== null && _res$headers$content !== void 0 && _res$headers$content.includes('application/json;'))) {
            _context.next = 2;
            break;
          }
          _context.next = 1;
          return blobToObj(res.data);
        case 1:
          resInfo = _context.sent;
          window.Vue.$message({
            type: 'error',
            message: resInfo.msg || '下载失败，请重试'
          });
          return _context.abrupt("return", false);
        case 2:
          blob = res.data;
          fileName = name || decodeURIComponent(res.headers['content-disposition'] ? res.headers['content-disposition'].split(';')[1].split('=')[1] : new Date().getTime());
          if (!(window.navigator && window.navigator.msSaveOrOpenBlob)) {
            _context.next = 3;
            break;
          }
          window.navigator.msSaveOrOpenBlob(new Blob([blob]), fileName + '.xlsx');
          return _context.abrupt("return", false);
        case 3:
          url = window.URL.createObjectURL(new Blob([blob]));
          link = document.createElement('a');
          link.style.display = 'none';
          link.href = url;
          link.setAttribute('download', fileName + '.xlsx');
          document.body.appendChild(link);
          link.click();
          document.body.removeChild(link);
          window.URL.revokeObjectURL(link.href);
          return _context.abrupt("return", true);
        case 4:
        case "end":
          return _context.stop();
      }
    }, _callee);
  }));
  return function exportBlob(_x, _x2) {
    return _ref.apply(this, arguments);
  };
}();

// 转换方法
function blobToObj(data) {
  return new Promise(function (resolve) {
    var reader = new FileReader();
    reader.readAsText(data, 'utf-8');
    reader.onload = function () {
      try {
        resolve(JSON.parse(reader.result));
      } catch (error) {
        resolve({
          code: 20000,
          msg: '获取文件失败'
        });
      }
    };
  });
}

// 导出代理
var exportAgency = function exportAgency(params, fileName, apiUrl, method, btnType) {
  var baseUrl = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : _axios_index__WEBPACK_IMPORTED_MODULE_18__[/* URL_NEW */ "a"];
  var exportTime = 1000 * 60 * 5;
  console.log('btnType', btnType);
  _vuex_index__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"].commit(btnType, true);
  var wujie = MicroMessage();
  wujie.$emit('base.exportData', 'processing');
  var exportParams = {
    "fileName": fileName,
    "api": "".concat(baseUrl).concat(apiUrl),
    "reqBody": params ? JSON.stringify(params) : '',
    "method": method,
    "reqHead": null,
    "isLoadBalance": true
  };
  Object(_axios_dispatchRequest__WEBPACK_IMPORTED_MODULE_17__["exportFileProxy"])(exportParams).then(function (res) {
    if (res !== null && res !== void 0 && res.data.id && (res === null || res === void 0 ? void 0 : res.code) == 0) {
      var _res$data;
      _exportTimer(_axios_dispatchRequest__WEBPACK_IMPORTED_MODULE_17__["queryDownloadStatus"], res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.id, exportTime, btnType, wujie);
    } else {
      ant_design_vue__WEBPACK_IMPORTED_MODULE_19__[/* default */ "a"].error(res === null || res === void 0 ? void 0 : res.msg);
    }
  });
};
var _exportTimer = function exportTimer(apiName, jobId, time, btnType, wujie) {
  //time 是轮询时长 毫秒
  var timer = null;
  if (time <= 1000) {
    _vuex_index__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"].commit(btnType, false);
    clearTimeout(timer);
    ant_design_vue__WEBPACK_IMPORTED_MODULE_19__[/* default */ "a"].error("\u5BFC\u51FA\u8D85\u65F6,\u81EA\u52A8\u505C\u6B62\u5BFC\u51FA!");
    wujie.$emit('base.exportData', 'fail');
    return;
  }
  apiName(jobId).then(function (res) {
    var ret = res === null || res === void 0 ? void 0 : res.data;
    if ((res === null || res === void 0 ? void 0 : res.code) == 0) {
      if (ret.jobStatus == 3 && ret.fileUrl) {
        ant_design_vue__WEBPACK_IMPORTED_MODULE_19__[/* default */ "a"].success(ret.fileName + '导出成功');
        clearTimeout(timer);
        _vuex_index__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"].commit(btnType, false);
        wujie.$emit('base.exportData', 'success');
        setTimeout(function () {
          wujie.$emit('base.exportData', 'default');
        }, 3000);
      } else if (ret.jobStatus == -1) {
        var errorMsg = '';
        try {
          var responseBody = JSON.parse(ret.responseBody);
          errorMsg = responseBody.msg;
        } catch (error) {
          errorMsg = '';
        }
        ant_design_vue__WEBPACK_IMPORTED_MODULE_19__[/* default */ "a"].error(ret.fileName + "\u5BFC\u51FA\u5931\u8D25,\u5931\u8D25\u539F\u56E0:".concat(errorMsg));
        _vuex_index__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"].commit(btnType, false);
        wujie.$emit('base.exportData', 'fail');
        clearTimeout(timer);
      } else {
        timer = setTimeout(function () {
          time = time - 500;
          if (time > 500) {
            _vuex_index__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"].commit(btnType, true);
            _exportTimer(apiName, jobId, time, btnType, wujie);
          }
        }, 500);
      }
    } else {
      _vuex_index__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"].commit(btnType, false);
      wujie.$emit('base.exportData', 'fail');
      clearTimeout(timer);
    }
  });
};
var MicroMessage = function MicroMessage() {
  var result = null;
  if (window.$wujie && window.$wujie.bus) {
    result = window.$wujie.bus;
  } else {
    result = {
      $on: function $on() {
        console.error('Baned');
      },
      $emit: function $emit(type, data) {
        window.$wujie && window.$wujie.bus && window.$wujie.bus.$emit && window.$wujie.bus.$emit(type, data);
      },
      $off: function $off() {
        console.error('Baned');
      },
      $once: function $once() {},
      $removeAllListeners: function $removeAllListeners() {},
      $listeners: function $listeners() {},
      $hasListeners: function $hasListeners() {},
      $listenersAny: function $listenersAny() {}
    };
  }
  return result;
};

/***/ }),

/***/ "92cf":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3cf90b8c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/home2/components/noData.vue?vue&type=template&id=d74e3bdc&scoped=true
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"no-data"},[_c('img',{staticClass:"no-data--img",attrs:{"src":__webpack_require__("c2e9")}}),_c('div',{staticClass:"no-data--text"},[_vm._v(_vm._s(_vm.text))])])
}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/pages/home2/components/noData.vue?vue&type=template&id=d74e3bdc&scoped=true

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--12-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/home2/components/noData.vue?vue&type=script&lang=js
/* harmony default export */ var noDatavue_type_script_lang_js = ({
  props: {
    text: {
      type: [String],
      default: '暂无数据'
    }
  }
});
// CONCATENATED MODULE: ./src/pages/home2/components/noData.vue?vue&type=script&lang=js
 /* harmony default export */ var components_noDatavue_type_script_lang_js = (noDatavue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/pages/home2/components/noData.vue?vue&type=style&index=0&id=d74e3bdc&prod&lang=less&scoped=true
var noDatavue_type_style_index_0_id_d74e3bdc_prod_lang_less_scoped_true = __webpack_require__("0965");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/pages/home2/components/noData.vue






/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_noDatavue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "d74e3bdc",
  null
  
)

/* harmony default export */ var noData = __webpack_exports__["a"] = (component.exports);

/***/ }),

/***/ "9523":
/***/ (function(module, exports, __webpack_require__) {

var toPropertyKey = __webpack_require__("a395");
function _defineProperty(e, r, t) {
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
    value: t,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[r] = t, e;
}
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "970b":
/***/ (function(module, exports) {

function _classCallCheck(a, n) {
  if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
}
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "9bae":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "9d26":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_rightDetails_vue_vue_type_style_index_0_id_7960a261_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dd37");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_rightDetails_vue_vue_type_style_index_0_id_7960a261_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_rightDetails_vue_vue_type_style_index_0_id_7960a261_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "a395":
/***/ (function(module, exports, __webpack_require__) {

var _typeof = __webpack_require__("7037")["default"];
var toPrimitive = __webpack_require__("e50d");
function toPropertyKey(t) {
  var i = toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "ad1d":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "ae7f":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_car_vue_vue_type_style_index_1_id_8d709ac6_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9bae");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_car_vue_vue_type_style_index_1_id_8d709ac6_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_car_vue_vue_type_style_index_1_id_8d709ac6_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "aff5":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");

// `Number.MAX_SAFE_INTEGER` constant
// https://tc39.es/ecma262/#sec-number.max_safe_integer
$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {
  MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF
});


/***/ }),

/***/ "b320":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return workOrderBoardNewOnEmergencySecurity; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getExtremeSchedule; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getPackageType; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getPlanLineScope; });
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eeb9");

var US_TASK = 'wwy-us-task';
var RM = 'wwy-us-rm';
var REPORT = 'wwy-us-report';

// 查询表格
var workOrderBoardNewOnEmergencySecurity = function workOrderBoardNewOnEmergencySecurity(data) {
  return _index__WEBPACK_IMPORTED_MODULE_0__[/* default */ "b"].post("".concat(REPORT, "/v2/order_report/emergency/workOrderBoardNewOnEmergencySecurity"), data, '');
};

// 查询排班情况
var getExtremeSchedule = function getExtremeSchedule(data) {
  return _index__WEBPACK_IMPORTED_MODULE_0__[/* default */ "b"].post("".concat(RM, "/schedule/shift-user-count-codes"), data, '');
};

// 应急保障-应急保障工单包管理 获取工单包类型列表
var getPackageType = function getPackageType(data) {
  return _index__WEBPACK_IMPORTED_MODULE_0__[/* default */ "b"].get("".concat(US_TASK, "/workIssuePackage/type/list"), data, '');
};

// 查询计划作业路线，传userTririgaCodes时查指定人员的 /taskReport/getPlanLineScope
var getPlanLineScope = function getPlanLineScope(data) {
  return _index__WEBPACK_IMPORTED_MODULE_0__[/* default */ "b"].post("".concat(RM, "/taskReport/getPlanLineScope"), data);
};

/***/ }),

/***/ "c740f":
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _regeneratorRuntime = __webpack_require__("7ec2").default;
var _asyncToGenerator = __webpack_require__("c973").default;
var _defineProperty = __webpack_require__("9523").default;
var _classCallCheck = __webpack_require__("970b").default;
var _createClass = __webpack_require__("5bc3").default;
var _typeof = __webpack_require__("7037").default;
__webpack_require__("a4d3");
__webpack_require__("e01a");
__webpack_require__("d28b");
__webpack_require__("d9e2");
__webpack_require__("99af");
__webpack_require__("cb29");
__webpack_require__("4de4");
__webpack_require__("7db0");
__webpack_require__("a630");
__webpack_require__("caad");
__webpack_require__("a15b");
__webpack_require__("d81d");
__webpack_require__("14d9");
__webpack_require__("fb6a");
__webpack_require__("a434");
__webpack_require__("c19f");
__webpack_require__("ace4");
__webpack_require__("2c66");
__webpack_require__("249d");
__webpack_require__("40e9");
__webpack_require__("b0c0");
__webpack_require__("6c57");
__webpack_require__("e9f5");
__webpack_require__("d866");
__webpack_require__("910d");
__webpack_require__("f665");
__webpack_require__("7d54");
__webpack_require__("ab43");
__webpack_require__("9485");
__webpack_require__("a732");
__webpack_require__("b64b");
__webpack_require__("1f68");
__webpack_require__("131a");
__webpack_require__("d3b7");
__webpack_require__("ac1f");
__webpack_require__("5377");
__webpack_require__("00b4");
__webpack_require__("25f0");
__webpack_require__("f6d6");
__webpack_require__("2532");
__webpack_require__("3ca3");
__webpack_require__("466d");
__webpack_require__("38cf");
__webpack_require__("5319");
__webpack_require__("2ca0");
__webpack_require__("498a");
__webpack_require__("5cc6");
__webpack_require__("84c3");
__webpack_require__("fb2c");
__webpack_require__("907a");
__webpack_require__("9a8c");
__webpack_require__("a975");
__webpack_require__("735e");
__webpack_require__("c1ac");
__webpack_require__("d139");
__webpack_require__("3a7b");
__webpack_require__("986a");
__webpack_require__("1d02");
__webpack_require__("d5d6");
__webpack_require__("82f8");
__webpack_require__("e91f");
__webpack_require__("60bd");
__webpack_require__("5f96");
__webpack_require__("3280");
__webpack_require__("3fcc");
__webpack_require__("ca91");
__webpack_require__("25a1");
__webpack_require__("cd26");
__webpack_require__("3c5d");
__webpack_require__("2954");
__webpack_require__("649e");
__webpack_require__("219c");
__webpack_require__("170b");
__webpack_require__("b39a");
__webpack_require__("6ce5");
__webpack_require__("2834");
__webpack_require__("72f7");
__webpack_require__("4ea1");
__webpack_require__("159b");
__webpack_require__("ddb0");
__webpack_require__("c73d");
!function (A, e) {
  "object" == ( false ? undefined : _typeof(exports)) && "undefined" != typeof module ? module.exports = e() :  true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (e),
				__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
				(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
				__WEBPACK_AMD_DEFINE_FACTORY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
}(this, function () {
  "use strict";

  var A = [{
    id: 1,
    title: "square"
  }, {
    id: 2,
    title: "round"
  }, {
    id: 3,
    title: "right-top"
  }, {
    id: 4,
    title: "brush"
  }, {
    id: 5,
    title: "mosaicPen"
  }, {
    id: 6,
    title: "text"
  }, {
    id: 7,
    title: "separateLine"
  }, {
    id: 8,
    title: "save"
  }, {
    id: 9,
    title: "undo"
  }, {
    id: 10,
    title: "close"
  }, {
    id: 11,
    title: "confirm"
  }];
  function e(A, e, t) {
    var r = function (A) {
      var e = "";
      switch (A) {
        case 1:
          e = "square-active";
          break;
        case 2:
          e = "round-active";
          break;
        case 3:
          e = "right-top-active";
          break;
        case 4:
          e = "brush-active";
          break;
        case 5:
          e = "mosaicPen-active";
          break;
        case 6:
          e = "text-active";
      }
      return e;
    }(e);
    t && (r = function (A) {
      var e = "";
      switch (A) {
        case 1:
          e = "brush-small-active";
          break;
        case 2:
          e = "brush-medium-active";
          break;
        case 3:
          e = "brush-big-active";
      }
      return e;
    }(e));
    var n = (A.path || A.composedPath && A.composedPath())[1].children;
    for (var _A2 = 0; _A2 < n.length; _A2++) {
      var _e2 = n[_A2];
      _e2.className.includes("active") && _e2.classList.remove(_e2.classList[2]);
    }
    A.target.className += " " + r;
  }
  function t() {
    var _A$getScreenShotConta;
    var A = new O();
    A.popHistory();
    var e = (_A$getScreenShotConta = A.getScreenShotContainer()) === null || _A$getScreenShotConta === void 0 ? void 0 : _A$getScreenShotConta.getContext("2d");
    null != e && A.getHistory().length > 0 && e.putImageData(A.getHistory()[A.getHistory().length - 1].data, 0, 0), A.setUndoClickNum(A.getUndoClickNum() + 1), A.getHistory().length - 1 <= 0 && (A.setUndoClickNum(0), A.setUndoStatus(!1));
  }
  function r(A, e) {
    var t = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document.body;
    var r = t.getBoundingClientRect();
    return {
      left: A || Math.abs(r.left),
      top: e || Math.abs(r.top)
    };
  }
  var n = !0,
    o = null,
    s = !1,
    i = 0,
    B = 0,
    a = !1;
  var c = {
    r: 0,
    g: 0,
    b: 0,
    a: .6
  };
  var l = /*#__PURE__*/function () {
    function l() {
      _classCallCheck(this, l);
      s && (n = !0, i = 0, B = 0, a = !1, o = null, s = !1);
    }
    return _createClass(l, [{
      key: "setInitStatus",
      value: function setInitStatus(A) {
        s = A;
      }
    }, {
      key: "getInitStatus",
      value: function getInitStatus() {
        return s;
      }
    }, {
      key: "getWebRtcStatus",
      value: function getWebRtcStatus() {
        return n;
      }
    }, {
      key: "setWebRtcStatus",
      value: function setWebRtcStatus(A) {
        n = A;
      }
    }, {
      key: "getScreenFlow",
      value: function getScreenFlow() {
        return o;
      }
    }, {
      key: "setScreenFlow",
      value: function setScreenFlow(A) {
        o = A;
      }
    }, {
      key: "getCanvasSize",
      value: function getCanvasSize() {
        return {
          canvasWidth: i,
          canvasHeight: B
        };
      }
    }, {
      key: "setCanvasSize",
      value: function setCanvasSize(A, e) {
        i = A, B = e;
      }
    }, {
      key: "getShowScreenDataStatus",
      value: function getShowScreenDataStatus() {
        return a;
      }
    }, {
      key: "setShowScreenDataStatus",
      value: function setShowScreenDataStatus(A) {
        a = A;
      }
    }, {
      key: "setMaskColor",
      value: function setMaskColor(A) {
        c.r = A.r, c.g = A.g, c.b = A.b, c.a = A.a;
      }
    }, {
      key: "getMaskColor",
      value: function getMaskColor() {
        return c;
      }
    }]);
  }();
  var g = !1,
    u = !1,
    w = !1,
    Q = "#F53340",
    h = "",
    C = 2;
  var U = 0,
    d = [];
  var F,
    p = !1,
    f = {
      startX: 0,
      startY: 0,
      width: 0,
      height: 0
    },
    H = null,
    E = null,
    I = null,
    m = null,
    y = null,
    K = null,
    b = null,
    v = null,
    S = null,
    L = null,
    D = null,
    x = !1,
    T = !1,
    M = "";
  var O = /*#__PURE__*/function () {
    function O() {
      _classCallCheck(this, O);
      T && (T = !1, H = null, E = null, m = null, K = null, y = null, I = null, f = {
        startX: 0,
        startY: 0,
        width: 0,
        height: 0
      }, w = !1, p = !1, Q = "#F53340", h = "", C = 2, d = [], U = 0, b = null, v = null, S = null, L = null);
    }
    return _createClass(O, [{
      key: "setInitStatus",
      value: function setInitStatus(A) {
        T = A;
      }
    }, {
      key: "setScreenShotInfo",
      value: function setScreenShotInfo(A, e) {
        this.getScreenShotContainer(), null != H && (x && document.body.classList.add("__screenshot-lock-scroll"), H.width = A, H.height = e);
      }
    }, {
      key: "setScreenShotPosition",
      value: function setScreenShotPosition(A, e) {
        if (this.getScreenShotContainer(), null == H) return;
        var _r2 = r(A, e),
          t = _r2.left,
          n = _r2.top;
        H.style.left = t + "px", H.style.top = n + "px";
      }
    }, {
      key: "showScreenShotPanel",
      value: function showScreenShotPanel() {
        this.getScreenShotContainer(), null != H && (H.style.display = "block");
      }
    }, {
      key: "getScreenShotContainer",
      value: function getScreenShotContainer() {
        return H = document.getElementById("screenShotContainer"), H;
      }
    }, {
      key: "getToolController",
      value: function getToolController() {
        return E = document.getElementById("toolPanel"), E;
      }
    }, {
      key: "getCutBoxSizeContainer",
      value: function getCutBoxSizeContainer() {
        return I = document.getElementById("cutBoxSizePanel"), I;
      }
    }, {
      key: "getTextInputController",
      value: function getTextInputController() {
        return m = document.getElementById("textInputPanel"), m;
      }
    }, {
      key: "getTextStatus",
      value: function getTextStatus() {
        return false;
      }
    }, {
      key: "getScreenShotImageController",
      value: function getScreenShotImageController() {
        return D;
      }
    }, {
      key: "setScreenShotImageController",
      value: function setScreenShotImageController(A) {
        D = A;
      }
    }, {
      key: "setToolStatus",
      value: function setToolStatus(A) {
        E = this.getToolController(), E.style.display = A ? "block" : "none";
      }
    }, {
      key: "setCutBoxSizeStatus",
      value: function setCutBoxSizeStatus(A) {
        null != I && (I.style.display = A ? "flex" : "none");
      }
    }, {
      key: "setCutBoxSizePosition",
      value: function setCutBoxSizePosition(A, e) {
        if (null == I) return;
        var _r3 = r(A, e),
          t = _r3.left,
          n = _r3.top;
        I.style.left = t + "px";
        var o = 0;
        H && (o = parseInt(H.style.top)), I.style.top = n + o + "px";
      }
    }, {
      key: "setCutBoxSize",
      value: function setCutBoxSize(A, e) {
        if (null == I) return;
        var t = I.childNodes;
        if (t.length > 0) return void (t[0].innerText = "".concat(A, " * ").concat(e));
        var r = document.createElement("p");
        r.innerText = "".concat(A, " * ").concat(e), I.appendChild(r);
      }
    }, {
      key: "setTextStatus",
      value: function setTextStatus(A) {
        m = this.getTextInputController(), null != m && (m.style.display = A ? "block" : "none");
      }
    }, {
      key: "setToolInfo",
      value: function setToolInfo(A, e) {
        E = document.getElementById("toolPanel");
        var _r4 = r(A, e),
          t = _r4.left,
          n = _r4.top;
        E.style.left = t + "px";
        var o = 0;
        H && (o = parseInt(H.style.top)), E.style.top = n + o + "px";
      }
    }, {
      key: "getToolClickStatus",
      value: function getToolClickStatus() {
        return w;
      }
    }, {
      key: "setToolClickStatus",
      value: function setToolClickStatus(A) {
        w = A;
      }
    }, {
      key: "getCutOutBoxPosition",
      value: function getCutOutBoxPosition() {
        return f;
      }
    }, {
      key: "getDragging",
      value: function getDragging() {
        return u;
      }
    }, {
      key: "setDragging",
      value: function setDragging(A) {
        u = A;
      }
    }, {
      key: "getDraggingTrim",
      value: function getDraggingTrim() {
        return g;
      }
    }, {
      key: "getToolPositionStatus",
      value: function getToolPositionStatus() {
        return p;
      }
    }, {
      key: "setToolPositionStatus",
      value: function setToolPositionStatus(A) {
        p = A;
      }
    }, {
      key: "setDraggingTrim",
      value: function setDraggingTrim(A) {
        g = A;
      }
    }, {
      key: "setCutOutBoxPosition",
      value: function setCutOutBoxPosition(A, e, t, r) {
        f.startX = A, f.startY = e, f.width = t, f.height = r;
      }
    }, {
      key: "setOptionStatus",
      value: function setOptionStatus(A) {
        if (y = this.getOptionIcoController(), K = this.getOptionController(), null != y && null != K) {
          if (A) return y.style.display = "block", void (K.style.display = "block");
          y.style.display = "none", K.style.display = "none";
        }
      }
    }, {
      key: "hiddenOptionIcoStatus",
      value: function hiddenOptionIcoStatus() {
        y = this.getOptionIcoController(), null != y && (y.style.display = "none");
      }
    }, {
      key: "getOptionIcoController",
      value: function getOptionIcoController() {
        return y = document.getElementById("optionIcoController"), y;
      }
    }, {
      key: "getOptionController",
      value: function getOptionController() {
        return K = document.getElementById("optionPanel"), K;
      }
    }, {
      key: "setOptionPosition",
      value: function setOptionPosition(A) {
        if (y = this.getOptionIcoController(), K = this.getOptionController(), null == y || null == K) return;
        var e = this.getToolPosition();
        if (null == e) return;
        var t = e.left + A + "px",
          r = e.top + 44 + "px",
          n = e.left + "px",
          o = e.top + 44 + 6 + "px";
        y.style.left = t, y.style.top = r, K.style.left = n, K.style.top = o;
      }
    }, {
      key: "getToolPosition",
      value: function getToolPosition() {
        if (E = this.getToolController(), null != E) return {
          left: E.offsetLeft,
          top: E.offsetTop
        };
      }
    }, {
      key: "getSelectedColor",
      value: function getSelectedColor() {
        return Q;
      }
    }, {
      key: "setSelectedColor",
      value: function setSelectedColor(A) {
        Q = A, S = this.getColorSelectPanel(), null != S && (S.style.backgroundColor = Q);
      }
    }, {
      key: "getColorSelectPanel",
      value: function getColorSelectPanel() {
        return S = document.getElementById("colorSelectPanel"), S;
      }
    }, {
      key: "getToolName",
      value: function getToolName() {
        return h;
      }
    }, {
      key: "setToolName",
      value: function setToolName(A) {
        h = A;
      }
    }, {
      key: "getPenSize",
      value: function getPenSize() {
        return C;
      }
    }, {
      key: "setPenSize",
      value: function setPenSize(A) {
        C = A;
      }
    }, {
      key: "getBorderSize",
      value: function getBorderSize() {
        return 10;
      }
    }, {
      key: "getHistory",
      value: function getHistory() {
        return d;
      }
    }, {
      key: "shiftHistory",
      value: function shiftHistory() {
        return d.shift();
      }
    }, {
      key: "popHistory",
      value: function popHistory() {
        return d.pop();
      }
    }, {
      key: "pushHistory",
      value: function pushHistory(A) {
        d.push(A);
      }
    }, {
      key: "getUndoClickNum",
      value: function getUndoClickNum() {
        return U;
      }
    }, {
      key: "setUndoClickNum",
      value: function setUndoClickNum(A) {
        U = A;
      }
    }, {
      key: "getColorPanel",
      value: function getColorPanel() {
        return b = document.getElementById("colorPanel"), b;
      }
    }, {
      key: "setColorPanelStatus",
      value: function setColorPanelStatus(A) {
        b = this.getColorPanel(), null != b && (b.style.display = A ? "flex" : "none");
      }
    }, {
      key: "getNoScrollStatus",
      value: function getNoScrollStatus() {
        return x;
      }
    }, {
      key: "setNoScrollStatus",
      value: function setNoScrollStatus(A) {
        null != A && (x = A);
      }
    }, {
      key: "setActiveToolName",
      value: function setActiveToolName(A) {
        M = A;
      }
    }, {
      key: "getActiveToolName",
      value: function getActiveToolName() {
        return M;
      }
    }, {
      key: "setTextInfo",
      value: function setTextInfo(A) {
        F = A;
      }
    }, {
      key: "getTextInfo",
      value: function getTextInfo() {
        return F;
      }
    }, {
      key: "getMaxUndoNum",
      value: function getMaxUndoNum() {
        return 15;
      }
    }, {
      key: "getRightPanel",
      value: function getRightPanel() {
        return v = document.getElementById("rightPanel"), v;
      }
    }, {
      key: "setRightPanel",
      value: function setRightPanel(A) {
        v = this.getRightPanel(), null != v && (v.style.display = A ? "flex" : "none");
      }
    }, {
      key: "setUndoStatus",
      value: function setUndoStatus(A) {
        if (L = this.getUndoController(), null != L) {
          if (A) return L.classList.add("undo"), L.classList.remove("undo-disabled"), void L.addEventListener("click", this.cancelEvent);
          L.classList.add("undo-disabled"), L.classList.remove("undo"), L.removeEventListener("click", this.cancelEvent);
        }
      }
    }, {
      key: "cancelEvent",
      value: function cancelEvent() {
        t();
      }
    }, {
      key: "getUndoController",
      value: function getUndoController() {
        return L = document.getElementById("undoPanel"), L;
      }
    }, {
      key: "destroyDOM",
      value: function destroyDOM() {
        if (null == H || null == E || null == y || null == K || null == m || null == I) return;
        var A = new l();
        x && document.body.classList.remove("__screenshot-lock-scroll"), document.body.removeChild(H), document.body.removeChild(E), document.body.removeChild(y), document.body.removeChild(K), document.body.removeChild(m), document.body.removeChild(I), A.setInitStatus(!0);
      }
    }]);
  }();
  function G(A, e, t) {
    var r = window.devicePixelRatio || 1;
    A.width = Math.round(e * r), A.height = Math.round(t * r), A.style.width = e + "px", A.style.height = t + "px";
    var n = A.getContext("2d");
    return n && n.scale(r, r), n;
  }
  function P(A) {
    var _e$getScreenShotConta;
    var e = new O(),
      t = (_e$getScreenShotConta = e.getScreenShotContainer()) === null || _e$getScreenShotConta === void 0 ? void 0 : _e$getScreenShotConta.getContext("2d"),
      _e$getCutOutBoxPositi = e.getCutOutBoxPosition(),
      r = _e$getCutOutBoxPositi.startX,
      n = _e$getCutOutBoxPositi.startY,
      o = _e$getCutOutBoxPositi.width,
      s = _e$getCutOutBoxPositi.height;
    var i = "";
    return t && (A ? function (A, e, t, r, n) {
      var o = window.devicePixelRatio || 1,
        s = A.getImageData(e * o, t * o, r * o, n * o),
        i = document.createElement("canvas"),
        B = G(i, r, n);
      if (B) {
        B.putImageData(s, 0, 0);
        var _A3 = document.createElement("a");
        _A3.href = i.toDataURL("png"), _A3.download = "".concat(new Date().getTime(), ".png"), _A3.click();
      }
    }(t, r, n, o, s) : i = function (A, e, t, r, n) {
      var o = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : .75;
      var s = window.devicePixelRatio || 1,
        i = A.getImageData(e * s, t * s, r * s, n * s),
        B = document.createElement("canvas"),
        a = G(B, r, n);
      return a ? (a.putImageData(i, 0, 0), B !== null && B !== void 0 && B.toBlob(function (A) {
        var _navigator$clipboard;
        if (null == A) return;
        var e = window.ClipboardItem;
        if (null == e) return B.toDataURL("png");
        var t = new e(_defineProperty({}, A.type, A));
        (_navigator$clipboard = navigator.clipboard) === null || _navigator$clipboard === void 0 || _navigator$clipboard.write([t]).then(function () {
          return "写入成功";
        });
      }, "image/png", o), B.toDataURL("png")) : "";
    }(t, r, n, o, s)), i;
  }
  function k(A, e, t, r, n, o, s, i) {
    var B = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : !0;
    var a = s === null || s === void 0 ? void 0 : s.width,
      c = s === null || s === void 0 ? void 0 : s.height,
      g = new l();
    if (!(a && c && i && s)) return;
    n.clearRect(0, 0, a, c), n.save();
    var u = g.getMaskColor();
    if (n.fillStyle = "rgba(0, 0, 0, .6)", u && (n.fillStyle = "rgba(".concat(u.r, ", ").concat(u.g, ", ").concat(u.b, ", ").concat(u.a, ")")), n.fillRect(0, 0, a, c), n.globalCompositeOperation = "source-atop", n.clearRect(A, e, t, r), n.globalCompositeOperation = "source-over", n.fillStyle = "#2CABFF", B) {
      var _s2 = o;
      n.fillRect(A - _s2 / 2, e - _s2 / 2, _s2, _s2), n.fillRect(A - _s2 / 2 + t / 2, e - _s2 / 2, _s2, _s2), n.fillRect(A - _s2 / 2 + t, e - _s2 / 2, _s2, _s2), n.fillRect(A - _s2 / 2, e - _s2 / 2 + r / 2, _s2, _s2), n.fillRect(A - _s2 / 2 + t, e - _s2 / 2 + r / 2, _s2, _s2), n.fillRect(A - _s2 / 2, e - _s2 / 2 + r, _s2, _s2), n.fillRect(A - _s2 / 2 + t / 2, e - _s2 / 2 + r, _s2, _s2), n.fillRect(A - _s2 / 2 + t, e - _s2 / 2 + r, _s2, _s2);
    }
    n.restore(), n.save(), n.globalCompositeOperation = "destination-over";
    var _imgWidth$imgHeight = {
        imgWidth: parseInt(s === null || s === void 0 ? void 0 : s.style.width),
        imgHeight: parseInt(s === null || s === void 0 ? void 0 : s.style.height)
      },
      w = _imgWidth$imgHeight.imgWidth,
      Q = _imgWidth$imgHeight.imgHeight;
    return n.drawImage(i, 0, 0, w, Q), n.restore(), t > 0 && r > 0 ? {
      startX: A,
      startY: e,
      width: t,
      height: r
    } : t < 0 && r < 0 ? {
      startX: A + t,
      startY: e + r,
      width: Math.abs(t),
      height: Math.abs(r)
    } : t > 0 && r < 0 ? {
      startX: A,
      startY: e + r,
      width: t,
      height: Math.abs(r)
    } : t < 0 && r > 0 ? {
      startX: A + t,
      startY: e,
      width: Math.abs(t),
      height: r
    } : {
      startX: A,
      startY: e,
      width: t,
      height: r
    };
  }
  function R(A, e, t, r, n, o) {
    o.save(), o.lineWidth = 1, o.fillStyle = r, o.textBaseline = "middle", o.font = "bold ".concat(n, "px Microsoft YaHei"), o.fillText(A, e, t), o.restore();
  }
  function V() {
    var A = new O(),
      e = A.getScreenShotContainer();
    if (null == e) return;
    var t = e.getContext("2d"),
      r = e;
    A.getHistory().length > A.getMaxUndoNum() && A.shiftHistory(), A.pushHistory({
      data: t.getImageData(0, 0, r.width, r.height)
    }), A.setUndoStatus(!0);
  }
  function X(A, r, n, o, s) {
    var i = new O(),
      B = i.getTextInputController(),
      a = i.getScreenShotContainer(),
      c = i.getScreenShotImageController();
    if (i.setActiveToolName(A), null == a || null == c) return;
    var l = a.getContext("2d");
    if (!i.getToolClickStatus()) {
      var _i$getToolPosition, _i$getToolPosition2;
      var _A4 = ((_i$getToolPosition = i.getToolPosition()) === null || _i$getToolPosition === void 0 ? void 0 : _i$getToolPosition.left) || 0,
        _e4 = ((_i$getToolPosition2 = i.getToolPosition()) === null || _i$getToolPosition2 === void 0 ? void 0 : _i$getToolPosition2.top) || 0;
      _e4 && i.getToolPositionStatus() && i.setToolInfo(_A4, _e4 - 46), i.setToolStatus(!0);
      var _t2 = i.getCutOutBoxPosition();
      k(_t2.startX, _t2.startY, _t2.width, _t2.height, l, i.getBorderSize(), a, c, !1);
    }
    if (i.setToolName(A), e(n, r, !1), "text" != A ? (i.setOptionStatus(!0), i.setOptionPosition(function (A) {
      switch (A) {
        case 1:
          return 16;
        case 2:
          return 56;
        case 3:
          return 90;
        case 4:
          return 128;
        case 5:
          return 174;
        case 6:
          return 210;
        default:
          return 0;
      }
    }(r))) : i.setOptionStatus(!1), i.setRightPanel(!0), "mosaicPen" == A && (i.setRightPanel(!1), i.hiddenOptionIcoStatus()), null != B && i.getTextStatus() || null != B && "text" !== A) {
      var _A5 = B.innerText;
      if (_A5 && "" !== _A5) {
        var _i$getTextInfo = i.getTextInfo(),
          _e5 = _i$getTextInfo.positionX,
          _t3 = _i$getTextInfo.positionY,
          _r5 = _i$getTextInfo.color,
          _n2 = _i$getTextInfo.size;
        R(_A5, _e5, _t3, _r5, _n2, l), V();
      }
      B.innerHTML = "", i.setTextStatus(!1);
    }
    if (i.setDragging(!1), i.setDraggingTrim(!1), "save" == A && (P(!0), i.destroyDOM(), i.setInitStatus(!0)), "close" == A && (s && s(), i.destroyDOM(), i.setInitStatus(!0)), "confirm" == A) {
      var _A6 = P(!1);
      o && o(_A6), i.destroyDOM(), i.setInitStatus(!0);
    }
    "undo" == A && (i.setOptionStatus(!1), t()), i.setToolClickStatus(!0);
  }
  function N(A, t, r) {
    var n = new O();
    e(r, t, !0);
    var o = 2;
    switch (A) {
      case "small":
        o = 2;
        break;
      case "medium":
        o = 5;
        break;
      case "big":
        o = 10;
    }
    return n.setPenSize(o), o;
  }
  function J() {
    new O().setColorPanelStatus(!0);
  }
  function Y(A) {
    var e = new O();
    var t = "#F53440";
    switch (A) {
      case 1:
        t = "#F53440";
        break;
      case 2:
        t = "#F65E95";
        break;
      case 3:
        t = "#D254CF";
        break;
      case 4:
        t = "#12A9D7";
        break;
      case 5:
        t = "#30A345";
        break;
      case 6:
        t = "#FACF50";
        break;
      case 7:
        t = "#F66632";
        break;
      case 8:
        t = "#989998";
        break;
      case 9:
        t = "#000000";
        break;
      case 10:
        t = "#FEFFFF";
    }
    return e.setSelectedColor(t), e.setColorPanelStatus(!1), t;
  }
  var W = /*#__PURE__*/function () {
    function W(e) {
      var _e$hiddenToolIco, _e$hiddenToolIco2, _e$hiddenToolIco3;
      _classCallCheck(this, W);
      _defineProperty(this, "screenShotController", void 0);
      _defineProperty(this, "toolController", void 0);
      _defineProperty(this, "optionIcoController", void 0);
      _defineProperty(this, "optionController", void 0);
      _defineProperty(this, "cutBoxSizeContainer", void 0);
      _defineProperty(this, "textInputController", void 0);
      _defineProperty(this, "completeCallback", void 0);
      _defineProperty(this, "closeCallback", void 0);
      _defineProperty(this, "hiddenIcoArr", void 0);
      _defineProperty(this, "toolbar", void 0);
      this.screenShotController = document.createElement("canvas"), this.toolController = document.createElement("div"), this.optionIcoController = document.createElement("div"), this.optionController = document.createElement("div"), this.cutBoxSizeContainer = document.createElement("div"), this.textInputController = document.createElement("div"), this.completeCallback = e === null || e === void 0 ? void 0 : e.completeCallback, this.closeCallback = e === null || e === void 0 ? void 0 : e.closeCallback, this.hiddenIcoArr = [], e && Object.prototype.hasOwnProperty.call(e, "completeCallback") || (this.completeCallback = function (A) {
        sessionStorage.setItem("screenShotImg", A);
      }), e !== null && e !== void 0 && e.hiddenToolIco && (!0 === ((_e$hiddenToolIco = e.hiddenToolIco) === null || _e$hiddenToolIco === void 0 ? void 0 : _e$hiddenToolIco.save) && this.hiddenIcoArr.push("save"), !0 === ((_e$hiddenToolIco2 = e.hiddenToolIco) === null || _e$hiddenToolIco2 === void 0 ? void 0 : _e$hiddenToolIco2.undo) && this.hiddenIcoArr.push("undo"), !0 === ((_e$hiddenToolIco3 = e.hiddenToolIco) === null || _e$hiddenToolIco3 === void 0 ? void 0 : _e$hiddenToolIco3.confirm) && this.hiddenIcoArr.push("confirm")), this.setAllControllerId(), this.setOptionIcoClassName(), this.toolbar = A, this.setToolBarIco(), this.setBrushSelectPanel(), this.setTextInputPanel(), this.setDomToBody(), this.hiddenAllDom();
    }
    return _createClass(W, [{
      key: "setToolBarIco",
      value: function setToolBarIco() {
        var _this = this;
        var _loop = function _loop() {
          var e = _this.toolbar[_A7];
          var t = !1;
          for (var _A8 = 0; _A8 < _this.hiddenIcoArr.length; _A8++) if (_this.hiddenIcoArr[_A8] === e.title) {
            t = !0;
            break;
          }
          if (t) return 1; // continue
          var r = document.createElement("div");
          "undo" == e.title ? (r.className = "item-panel undo-disabled", r.id = "undoPanel") : (r.className = "item-panel ".concat(e.title), r.addEventListener("click", function (A) {
            X(e.title, e.id, A, _this.completeCallback, _this.closeCallback);
          })), r.setAttribute("data-title", e.title), r.setAttribute("data-id", e.id + ""), _this.toolController.appendChild(r);
        };
        for (var _A7 = 0; _A7 < this.toolbar.length; _A7++) {
          if (_loop()) continue;
        }
        this.hiddenIcoArr.length > 0 && (this.toolController.style.minWidth = "275px");
      }
    }, {
      key: "setBrushSelectPanel",
      value: function setBrushSelectPanel() {
        var A = document.createElement("div");
        A.className = "brush-select-panel";
        for (var _e6 = 0; _e6 < 3; _e6++) {
          var _t4 = document.createElement("div");
          switch (_t4.className = "item-panel", _e6) {
            case 0:
              _t4.classList.add("brush-small"), _t4.classList.add("brush-small-active"), _t4.addEventListener("click", function (A) {
                N("small", 1, A);
              });
              break;
            case 1:
              _t4.classList.add("brush-medium"), _t4.addEventListener("click", function (A) {
                N("medium", 2, A);
              });
              break;
            case 2:
              _t4.classList.add("brush-big"), _t4.addEventListener("click", function (A) {
                N("big", 3, A);
              });
          }
          A.appendChild(_t4);
        }
        var e = document.createElement("div");
        e.className = "right-panel";
        var t = document.createElement("div");
        t.className = "color-select-panel", t.id = "colorSelectPanel", t.addEventListener("click", function () {
          J();
        });
        var r = document.createElement("div");
        r.id = "colorPanel", r.className = "color-panel", r.style.display = "none";
        var _loop2 = function _loop2(_A9) {
          var e = document.createElement("div");
          e.className = "color-item", e.addEventListener("click", function () {
            Y(_A9 + 1);
          }), e.setAttribute("data-index", _A9 + ""), r.appendChild(e);
        };
        for (var _A9 = 0; _A9 < 10; _A9++) {
          _loop2(_A9);
        }
        e.appendChild(r), e.appendChild(t), e.id = "rightPanel";
        var n = document.createElement("div");
        n.className = "pull-down-arrow", n.addEventListener("click", function () {
          J();
        }), e.appendChild(n), this.optionController.appendChild(A), this.optionController.appendChild(e);
      }
    }, {
      key: "setTextInputPanel",
      value: function setTextInputPanel() {
        this.textInputController.contentEditable = "true", this.textInputController.spellcheck = !1;
      }
    }, {
      key: "setAllControllerId",
      value: function setAllControllerId() {
        this.screenShotController.id = "screenShotContainer", this.toolController.id = "toolPanel", this.optionIcoController.id = "optionIcoController", this.optionController.id = "optionPanel", this.cutBoxSizeContainer.id = "cutBoxSizePanel", this.textInputController.id = "textInputPanel";
      }
    }, {
      key: "hiddenAllDom",
      value: function hiddenAllDom() {
        this.screenShotController.style.display = "none", this.toolController.style.display = "none", this.optionIcoController.style.display = "none", this.optionController.style.display = "none", this.cutBoxSizeContainer.style.display = "none", this.textInputController.style.display = "none";
      }
    }, {
      key: "setDomToBody",
      value: function setDomToBody() {
        document.body.appendChild(this.screenShotController), document.body.appendChild(this.toolController), document.body.appendChild(this.optionIcoController), document.body.appendChild(this.optionController), document.body.appendChild(this.cutBoxSizeContainer), document.body.appendChild(this.textInputController);
      }
    }, {
      key: "setOptionIcoClassName",
      value: function setOptionIcoClassName() {
        this.optionIcoController.className = "ico-panel";
      }
    }]);
  }();
  function Z(A, e, t) {
    var r = function r(A) {
      return A > 0 ? A : 0;
    };
    return r(A) + e > t ? r(t - e) : r(A);
  }
  function z(A) {
    return A > 0 ? A : 0;
  }
  !function (A, e) {
    void 0 === e && (e = {});
    var t = e.insertAt;
    if (A && "undefined" != typeof document) {
      var r = document.head || document.getElementsByTagName("head")[0],
        n = document.createElement("style");
      n.type = "text/css", "top" === t && r.firstChild ? r.insertBefore(n, r.firstChild) : r.appendChild(n), n.styleSheet ? n.styleSheet.cssText = A : n.appendChild(document.createTextNode(A));
    }
  }('#screenShotContainer{cursor:crosshair;left:0;position:absolute;top:0}#toolPanel{background:#fff;box-sizing:content-box;height:24px;left:0;min-width:392px;padding:10px;position:absolute;top:0;z-index:9999}#toolPanel .item-panel{float:left;height:24px;margin-right:15px;width:24px}#toolPanel .item-panel:last-child{margin-right:0}#toolPanel .square{background-image:url("");background-size:cover}#toolPanel .square:hover{background-image:url("")}#toolPanel .square-active,#toolPanel .square:active{background-image:url("")}#toolPanel .round{background-image:url("");background-size:cover}#toolPanel .round:hover{background-image:url("")}#toolPanel .round-active,#toolPanel .round:active{background-image:url("")}#toolPanel .right-top{background-image:url("");background-size:cover}#toolPanel .right-top:hover{background-image:url("")}#toolPanel .right-top-active,#toolPanel .right-top:active{background-image:url("")}#toolPanel .brush{background-image:url("");background-size:cover}#toolPanel .brush:hover{background-image:url("")}#toolPanel .brush-active,#toolPanel .brush:active{background-image:url("")}#toolPanel .mosaicPen{background-image:url("");background-size:cover}#toolPanel .mosaicPen:hover{background-image:url("")}#toolPanel .mosaicPen-active,#toolPanel .mosaicPen:active{background-image:url("")}#toolPanel .separateLine{background-image:url("");background-size:cover;width:1px}#toolPanel .text{background-image:url("");background-size:cover}#toolPanel .text:hover{background-image:url("")}#toolPanel .text-active,#toolPanel .text:active{background-image:url("")}#toolPanel .save{background-image:url("");background-size:cover}#toolPanel .save:hover{background-image:url("")}#toolPanel .save:active{background-image:url("")}#toolPanel .close{background-image:url("");background-size:cover}#toolPanel .close:hover{background-image:url("")}#toolPanel .undo-disabled{background-image:url("");background-size:cover}#toolPanel .undo{background-image:url("");background-size:cover}#toolPanel .undo:hover{background-image:url("")}#toolPanel .confirm{background-image:url("");background-size:cover}#toolPanel .confirm:hover{background-image:url("")}.__screenshot-lock-scroll{height:100%!important;margin:0;overflow:hidden!important}.ico-panel{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;height:0;left:23px;position:absolute;top:0;transform:rotate(180deg);width:0;z-index:9999}.ico-panel img{height:100%;width:100%}#optionPanel{background:#fff;border-radius:5px;box-sizing:content-box;height:20px;left:0;padding:10px;position:absolute;top:6px;z-index:9999}#optionPanel .brush-select-panel{float:left;height:20px}#optionPanel .brush-select-panel .item-panel{float:left;height:20px;margin-right:18px;width:20px}#optionPanel .brush-select-panel .item-panel:first-child{margin-left:2px}#optionPanel .brush-select-panel .item-panel:last-child{margin-right:0}#optionPanel .brush-select-panel .brush-small{background-image:url("");background-size:cover}#optionPanel .brush-select-panel .brush-small-active,#optionPanel .brush-select-panel .brush-small:active,#optionPanel .brush-select-panel .brush-small:hover{background-image:url("")}#optionPanel .brush-select-panel .brush-medium{background-image:url("");background-size:cover}#optionPanel .brush-select-panel .brush-medium-active,#optionPanel .brush-select-panel .brush-medium:active,#optionPanel .brush-select-panel .brush-medium:hover{background-image:url("")}#optionPanel .brush-select-panel .brush-big{background-image:url("");background-size:cover}#optionPanel .brush-select-panel .brush-big-active,#optionPanel .brush-select-panel .brush-big:active,#optionPanel .brush-select-panel .brush-big:hover{background-image:url("")}#optionPanel .right-panel{align-items:center;display:flex;float:left;margin-left:39px}#optionPanel .right-panel .color-panel{background:#fff;border:1px solid #e5e6e5;border-radius:5px;display:flex;flex-wrap:wrap;justify-content:center;position:absolute;right:28px;top:-225px;width:72px}#optionPanel .right-panel .color-panel .color-item{height:20px;margin-bottom:5px;width:62px}#optionPanel .right-panel .color-panel .color-item:first-child{background:#f53440;margin-top:5px}#optionPanel .right-panel .color-panel .color-item:nth-child(2){background:#f65e95}#optionPanel .right-panel .color-panel .color-item:nth-child(3){background:#d254cf}#optionPanel .right-panel .color-panel .color-item:nth-child(4){background:#12a9d7}#optionPanel .right-panel .color-panel .color-item:nth-child(5){background:#30a345}#optionPanel .right-panel .color-panel .color-item:nth-child(6){background:#facf50}#optionPanel .right-panel .color-panel .color-item:nth-child(7){background:#f66632}#optionPanel .right-panel .color-panel .color-item:nth-child(8){background:#989998}#optionPanel .right-panel .color-panel .color-item:nth-child(9){background:#000}#optionPanel .right-panel .color-panel .color-item:nth-child(10){background:#feffff;border:1px solid #e5e6e5}#optionPanel .right-panel .color-select-panel{background:#f53340;border:1px solid #e5e6e5;height:20px;width:62px}#optionPanel .right-panel .pull-down-arrow{background-image:url("");background-size:cover;height:8px;margin-left:10px;width:15px}#cutBoxSizePanel{align-items:center;background:rgba(0,0,0,.4);border-radius:3px;color:#fff;display:flex;font-size:14px;height:25px;justify-content:center;width:85px}#cutBoxSizePanel,#textInputPanel{left:0;position:absolute;top:0;z-index:9999}#textInputPanel{border:none;box-sizing:border-box;font-weight:700;margin:0;min-height:20px;min-width:20px;outline:none;padding:0}');
  var q = function q(A, e, t) {
      var r = A.width,
        n = A.data,
        o = [];
      return o[0] = n[4 * (t * r + e)], o[1] = n[4 * (t * r + e) + 1], o[2] = n[4 * (t * r + e) + 2], o[3] = n[4 * (t * r + e) + 3], o;
    },
    j = function j(A, e, t, r) {
      var n = A.width,
        o = A.data;
      o[4 * (t * n + e)] = r[0], o[4 * (t * n + e) + 1] = r[1], o[4 * (t * n + e) + 2] = r[2], o[4 * (t * n + e) + 3] = r[3];
    };
  function _(A, e) {
    var t = e.startX,
      r = e.startY,
      n = e.width,
      o = e.height,
      s = A / 2,
      i = [];
    return i[0] = {
      x: t + s,
      y: r + s,
      width: n - A,
      height: o - A,
      index: 1,
      option: 1
    }, i[1] = {
      x: t + s,
      y: r,
      width: n - A,
      height: s,
      index: 2,
      option: 2
    }, i[2] = {
      x: t - s + n / 2,
      y: r - s,
      width: A,
      height: s,
      index: 2,
      option: 2
    }, i[3] = {
      x: t + s,
      y: r - s + o,
      width: n - A,
      height: s,
      index: 2,
      option: 3
    }, i[4] = {
      x: t - s + n / 2,
      y: r + o,
      width: A,
      height: s,
      index: 2,
      option: 3
    }, i[5] = {
      x: t,
      y: r + s,
      width: s,
      height: o - A,
      index: 3,
      option: 4
    }, i[6] = {
      x: t - s,
      y: r - s + o / 2,
      width: s,
      height: A,
      index: 3,
      option: 4
    }, i[7] = {
      x: t - s + n,
      y: r + s,
      width: s,
      height: o - A,
      index: 3,
      option: 5
    }, i[8] = {
      x: t + n,
      y: r - s + o / 2,
      width: s,
      height: A,
      index: 3,
      option: 5
    }, i[9] = {
      x: t - s,
      y: r - s,
      width: A,
      height: A,
      index: 4,
      option: 6
    }, i[10] = {
      x: t - s + n,
      y: r - s + o,
      width: A,
      height: A,
      index: 4,
      option: 7
    }, i[11] = {
      x: t - s + n,
      y: r - s,
      width: A,
      height: A,
      index: 5,
      option: 8
    }, i[12] = {
      x: t - s,
      y: r - s + o,
      width: A,
      height: A,
      index: 5,
      option: 9
    }, i;
  }
  /*!
     * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
     * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
     * Released under MIT License
     */
  /*! *****************************************************************************
    Copyright (c) Microsoft Corporation.
  
    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted.
  
    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    PERFORMANCE OF THIS SOFTWARE.
    ***************************************************************************** */
  var _$ = function $(A, e) {
    return _$ = Object.setPrototypeOf || {
      __proto__: []
    } instanceof Array && function (A, e) {
      A.__proto__ = e;
    } || function (A, e) {
      for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && (A[t] = e[t]);
    }, _$(A, e);
  };
  function AA(A, e) {
    if ("function" != typeof e && null !== e) throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
    function t() {
      this.constructor = A;
    }
    _$(A, e), A.prototype = null === e ? Object.create(e) : (t.prototype = e.prototype, new t());
  }
  var _eA = function eA() {
    return _eA = Object.assign || function (A) {
      for (var e, t = 1, r = arguments.length; t < r; t++) for (var n in e = arguments[t]) Object.prototype.hasOwnProperty.call(e, n) && (A[n] = e[n]);
      return A;
    }, _eA.apply(this, arguments);
  };
  function tA(A, e, t, r) {
    return new (t || (t = Promise))(function (n, o) {
      function s(A) {
        try {
          B(r.next(A));
        } catch (A) {
          o(A);
        }
      }
      function i(A) {
        try {
          B(r.throw(A));
        } catch (A) {
          o(A);
        }
      }
      function B(A) {
        var e;
        A.done ? n(A.value) : (e = A.value, e instanceof t ? e : new t(function (A) {
          A(e);
        })).then(s, i);
      }
      B((r = r.apply(A, e || [])).next());
    });
  }
  function rA(A, e) {
    var t,
      r,
      n,
      o,
      s = {
        label: 0,
        sent: function sent() {
          if (1 & n[0]) throw n[1];
          return n[1];
        },
        trys: [],
        ops: []
      };
    return o = {
      next: i(0),
      throw: i(1),
      return: i(2)
    }, "function" == typeof Symbol && (o[Symbol.iterator] = function () {
      return this;
    }), o;
    function i(o) {
      return function (i) {
        return function (o) {
          if (t) throw new TypeError("Generator is already executing.");
          for (; s;) try {
            if (t = 1, r && (n = 2 & o[0] ? r.return : o[0] ? r.throw || ((n = r.return) && n.call(r), 0) : r.next) && !(n = n.call(r, o[1])).done) return n;
            switch (r = 0, n && (o = [2 & o[0], n.value]), o[0]) {
              case 0:
              case 1:
                n = o;
                break;
              case 4:
                return s.label++, {
                  value: o[1],
                  done: !1
                };
              case 5:
                s.label++, r = o[1], o = [0];
                continue;
              case 7:
                o = s.ops.pop(), s.trys.pop();
                continue;
              default:
                if (!(n = s.trys, (n = n.length > 0 && n[n.length - 1]) || 6 !== o[0] && 2 !== o[0])) {
                  s = 0;
                  continue;
                }
                if (3 === o[0] && (!n || o[1] > n[0] && o[1] < n[3])) {
                  s.label = o[1];
                  break;
                }
                if (6 === o[0] && s.label < n[1]) {
                  s.label = n[1], n = o;
                  break;
                }
                if (n && s.label < n[2]) {
                  s.label = n[2], s.ops.push(o);
                  break;
                }
                n[2] && s.ops.pop(), s.trys.pop();
                continue;
            }
            o = e.call(A, s);
          } catch (A) {
            o = [6, A], r = 0;
          } finally {
            t = n = 0;
          }
          if (5 & o[0]) throw o[1];
          return {
            value: o[0] ? o[1] : void 0,
            done: !0
          };
        }([o, i]);
      };
    }
  }
  function nA(A, e, t) {
    if (t || 2 === arguments.length) for (var r, n = 0, o = e.length; n < o; n++) !r && n in e || (r || (r = Array.prototype.slice.call(e, 0, n)), r[n] = e[n]);
    return A.concat(r || e);
  }
  for (var oA = function () {
      function A(A, e, t, r) {
        this.left = A, this.top = e, this.width = t, this.height = r;
      }
      return A.prototype.add = function (e, t, r, n) {
        return new A(this.left + e, this.top + t, this.width + r, this.height + n);
      }, A.fromClientRect = function (e, t) {
        return new A(t.left + e.windowBounds.left, t.top + e.windowBounds.top, t.width, t.height);
      }, A.fromDOMRectList = function (e, t) {
        var r = Array.from(t).find(function (A) {
          return 0 !== A.width;
        });
        return r ? new A(r.left + e.windowBounds.left, r.top + e.windowBounds.top, r.width, r.height) : A.EMPTY;
      }, A.EMPTY = new A(0, 0, 0, 0), A;
    }(), sA = function sA(A, e) {
      return oA.fromClientRect(A, e.getBoundingClientRect());
    }, iA = function iA(A) {
      for (var e = [], t = 0, r = A.length; t < r;) {
        var n = A.charCodeAt(t++);
        if (n >= 55296 && n <= 56319 && t < r) {
          var o = A.charCodeAt(t++);
          56320 == (64512 & o) ? e.push(((1023 & n) << 10) + (1023 & o) + 65536) : (e.push(n), t--);
        } else e.push(n);
      }
      return e;
    }, BA = function BA() {
      for (var A = [], e = 0; e < arguments.length; e++) A[e] = arguments[e];
      if (String.fromCodePoint) return String.fromCodePoint.apply(String, A);
      var t = A.length;
      if (!t) return "";
      for (var r = [], n = -1, o = ""; ++n < t;) {
        var s = A[n];
        s <= 65535 ? r.push(s) : (s -= 65536, r.push(55296 + (s >> 10), s % 1024 + 56320)), (n + 1 === t || r.length > 16384) && (o += String.fromCharCode.apply(String, r), r.length = 0);
      }
      return o;
    }, aA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", cA = "undefined" == typeof Uint8Array ? [] : new Uint8Array(256), lA = 0; lA < aA.length; lA++) cA[aA.charCodeAt(lA)] = lA;
  for (var gA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", uA = "undefined" == typeof Uint8Array ? [] : new Uint8Array(256), wA = 0; wA < gA.length; wA++) uA[gA.charCodeAt(wA)] = wA;
  for (var QA = function QA(A, e, t) {
      return A.slice ? A.slice(e, t) : new Uint16Array(Array.prototype.slice.call(A, e, t));
    }, hA = function () {
      function A(A, e, t, r, n, o) {
        this.initialValue = A, this.errorValue = e, this.highStart = t, this.highValueIndex = r, this.index = n, this.data = o;
      }
      return A.prototype.get = function (A) {
        var e;
        if (A >= 0) {
          if (A < 55296 || A > 56319 && A <= 65535) return e = ((e = this.index[A >> 5]) << 2) + (31 & A), this.data[e];
          if (A <= 65535) return e = ((e = this.index[2048 + (A - 55296 >> 5)]) << 2) + (31 & A), this.data[e];
          if (A < this.highStart) return e = 2080 + (A >> 11), e = this.index[e], e += A >> 5 & 63, e = ((e = this.index[e]) << 2) + (31 & A), this.data[e];
          if (A <= 1114111) return this.data[this.highValueIndex];
        }
        return this.errorValue;
      }, A;
    }(), CA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", UA = "undefined" == typeof Uint8Array ? [] : new Uint8Array(256), dA = 0; dA < CA.length; dA++) UA[CA.charCodeAt(dA)] = dA;
  var FA = 10,
    pA = 13,
    fA = 15,
    HA = 17,
    EA = 18,
    IA = 19,
    mA = 20,
    yA = 21,
    KA = 22,
    bA = 24,
    vA = 25,
    SA = 26,
    LA = 27,
    DA = 28,
    xA = 30,
    TA = 32,
    MA = 33,
    OA = 34,
    GA = 35,
    PA = 37,
    kA = 38,
    RA = 39,
    VA = 40,
    XA = 42,
    NA = [9001, 65288],
    JA = "×",
    YA = "÷",
    WA = function (A, e) {
      var t,
        r,
        n,
        o = function (A) {
          var e,
            t,
            r,
            n,
            o,
            s = .75 * A.length,
            i = A.length,
            B = 0;
          "=" === A[A.length - 1] && (s--, "=" === A[A.length - 2] && s--);
          var a = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array && void 0 !== Uint8Array.prototype.slice ? new ArrayBuffer(s) : new Array(s),
            c = Array.isArray(a) ? a : new Uint8Array(a);
          for (e = 0; e < i; e += 4) t = uA[A.charCodeAt(e)], r = uA[A.charCodeAt(e + 1)], n = uA[A.charCodeAt(e + 2)], o = uA[A.charCodeAt(e + 3)], c[B++] = t << 2 | r >> 4, c[B++] = (15 & r) << 4 | n >> 2, c[B++] = (3 & n) << 6 | 63 & o;
          return a;
        }(A),
        s = Array.isArray(o) ? function (A) {
          for (var e = A.length, t = [], r = 0; r < e; r += 4) t.push(A[r + 3] << 24 | A[r + 2] << 16 | A[r + 1] << 8 | A[r]);
          return t;
        }(o) : new Uint32Array(o),
        i = Array.isArray(o) ? function (A) {
          for (var e = A.length, t = [], r = 0; r < e; r += 2) t.push(A[r + 1] << 8 | A[r]);
          return t;
        }(o) : new Uint16Array(o),
        B = QA(i, 12, s[4] / 2),
        a = 2 === s[5] ? QA(i, (24 + s[4]) / 2) : (t = s, r = Math.ceil((24 + s[4]) / 4), t.slice ? t.slice(r, n) : new Uint32Array(Array.prototype.slice.call(t, r, n)));
      return new h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0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywH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IZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAH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HUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD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ABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB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ADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAF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AB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeA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AEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAg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4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),
    ZA = [xA, 36],
    zA = [1, 2, 3, 5],
    qA = [FA, 8],
    jA = [LA, SA],
    _A = zA.concat(qA),
    $A = [kA, RA, VA, OA, GA],
    Ae = [fA, pA],
    ee = function ee(A, e, t, r) {
      var n = r[t];
      if (Array.isArray(A) ? -1 !== A.indexOf(n) : A === n) for (var o = t; o <= r.length;) {
        if ((B = r[++o]) === e) return !0;
        if (B !== FA) break;
      }
      if (n === FA) for (o = t; o > 0;) {
        var s = r[--o];
        if (Array.isArray(A) ? -1 !== A.indexOf(s) : A === s) for (var i = t; i <= r.length;) {
          var B;
          if ((B = r[++i]) === e) return !0;
          if (B !== FA) break;
        }
        if (s !== FA) break;
      }
      return !1;
    },
    te = function te(A, e) {
      for (var t = A; t >= 0;) {
        var r = e[t];
        if (r !== FA) return r;
        t--;
      }
      return 0;
    },
    re = function re(A, e, t, r, n) {
      if (0 === t[r]) return JA;
      var o = r - 1;
      if (Array.isArray(n) && !0 === n[o]) return JA;
      var s = o - 1,
        i = o + 1,
        B = e[o],
        a = s >= 0 ? e[s] : 0,
        c = e[i];
      if (2 === B && 3 === c) return JA;
      if (-1 !== zA.indexOf(B)) return "!";
      if (-1 !== zA.indexOf(c)) return JA;
      if (-1 !== qA.indexOf(c)) return JA;
      if (8 === te(o, e)) return YA;
      if (11 === WA.get(A[o])) return JA;
      if ((B === TA || B === MA) && 11 === WA.get(A[i])) return JA;
      if (7 === B || 7 === c) return JA;
      if (9 === B) return JA;
      if (-1 === [FA, pA, fA].indexOf(B) && 9 === c) return JA;
      if (-1 !== [HA, EA, IA, bA, DA].indexOf(c)) return JA;
      if (te(o, e) === KA) return JA;
      if (ee(23, KA, o, e)) return JA;
      if (ee([HA, EA], yA, o, e)) return JA;
      if (ee(12, 12, o, e)) return JA;
      if (B === FA) return YA;
      if (23 === B || 23 === c) return JA;
      if (16 === c || 16 === B) return YA;
      if (-1 !== [pA, fA, yA].indexOf(c) || 14 === B) return JA;
      if (36 === a && -1 !== Ae.indexOf(B)) return JA;
      if (B === DA && 36 === c) return JA;
      if (c === mA) return JA;
      if (-1 !== ZA.indexOf(c) && B === vA || -1 !== ZA.indexOf(B) && c === vA) return JA;
      if (B === LA && -1 !== [PA, TA, MA].indexOf(c) || -1 !== [PA, TA, MA].indexOf(B) && c === SA) return JA;
      if (-1 !== ZA.indexOf(B) && -1 !== jA.indexOf(c) || -1 !== jA.indexOf(B) && -1 !== ZA.indexOf(c)) return JA;
      if (-1 !== [LA, SA].indexOf(B) && (c === vA || -1 !== [KA, fA].indexOf(c) && e[i + 1] === vA) || -1 !== [KA, fA].indexOf(B) && c === vA || B === vA && -1 !== [vA, DA, bA].indexOf(c)) return JA;
      if (-1 !== [vA, DA, bA, HA, EA].indexOf(c)) for (var l = o; l >= 0;) {
        if ((g = e[l]) === vA) return JA;
        if (-1 === [DA, bA].indexOf(g)) break;
        l--;
      }
      if (-1 !== [LA, SA].indexOf(c)) for (l = -1 !== [HA, EA].indexOf(B) ? s : o; l >= 0;) {
        var g;
        if ((g = e[l]) === vA) return JA;
        if (-1 === [DA, bA].indexOf(g)) break;
        l--;
      }
      if (kA === B && -1 !== [kA, RA, OA, GA].indexOf(c) || -1 !== [RA, OA].indexOf(B) && -1 !== [RA, VA].indexOf(c) || -1 !== [VA, GA].indexOf(B) && c === VA) return JA;
      if (-1 !== $A.indexOf(B) && -1 !== [mA, SA].indexOf(c) || -1 !== $A.indexOf(c) && B === LA) return JA;
      if (-1 !== ZA.indexOf(B) && -1 !== ZA.indexOf(c)) return JA;
      if (B === bA && -1 !== ZA.indexOf(c)) return JA;
      if (-1 !== ZA.concat(vA).indexOf(B) && c === KA && -1 === NA.indexOf(A[i]) || -1 !== ZA.concat(vA).indexOf(c) && B === EA) return JA;
      if (41 === B && 41 === c) {
        for (var u = t[o], w = 1; u > 0 && 41 === e[--u];) w++;
        if (w % 2 != 0) return JA;
      }
      return B === TA && c === MA ? JA : YA;
    },
    ne = function ne(A, e) {
      e || (e = {
        lineBreak: "normal",
        wordBreak: "normal"
      });
      var t = function (A, e) {
          void 0 === e && (e = "strict");
          var t = [],
            r = [],
            n = [];
          return A.forEach(function (A, o) {
            var s = WA.get(A);
            if (s > 50 ? (n.push(!0), s -= 50) : n.push(!1), -1 !== ["normal", "auto", "loose"].indexOf(e) && -1 !== [8208, 8211, 12316, 12448].indexOf(A)) return r.push(o), t.push(16);
            if (4 === s || 11 === s) {
              if (0 === o) return r.push(o), t.push(xA);
              var i = t[o - 1];
              return -1 === _A.indexOf(i) ? (r.push(r[o - 1]), t.push(i)) : (r.push(o), t.push(xA));
            }
            return r.push(o), 31 === s ? t.push("strict" === e ? yA : PA) : s === XA || 29 === s ? t.push(xA) : 43 === s ? A >= 131072 && A <= 196605 || A >= 196608 && A <= 262141 ? t.push(PA) : t.push(xA) : void t.push(s);
          }), [r, t, n];
        }(A, e.lineBreak),
        r = t[0],
        n = t[1],
        o = t[2];
      "break-all" !== e.wordBreak && "break-word" !== e.wordBreak || (n = n.map(function (A) {
        return -1 !== [vA, xA, XA].indexOf(A) ? PA : A;
      }));
      var s = "keep-all" === e.wordBreak ? o.map(function (e, t) {
        return e && A[t] >= 19968 && A[t] <= 40959;
      }) : void 0;
      return [r, n, s];
    },
    oe = function () {
      function A(A, e, t, r) {
        this.codePoints = A, this.required = "!" === e, this.start = t, this.end = r;
      }
      return A.prototype.slice = function () {
        return BA.apply(void 0, this.codePoints.slice(this.start, this.end));
      }, A;
    }(),
    se = 45,
    ie = 43,
    Be = -1,
    ae = function ae(A) {
      return A >= 48 && A <= 57;
    },
    ce = function ce(A) {
      return ae(A) || A >= 65 && A <= 70 || A >= 97 && A <= 102;
    },
    le = function le(A) {
      return 10 === A || 9 === A || 32 === A;
    },
    ge = function ge(A) {
      return function (A) {
        return function (A) {
          return A >= 97 && A <= 122;
        }(A) || function (A) {
          return A >= 65 && A <= 90;
        }(A);
      }(A) || function (A) {
        return A >= 128;
      }(A) || 95 === A;
    },
    ue = function ue(A) {
      return ge(A) || ae(A) || A === se;
    },
    we = function we(A) {
      return A >= 0 && A <= 8 || 11 === A || A >= 14 && A <= 31 || 127 === A;
    },
    Qe = function Qe(A, e) {
      return 92 === A && 10 !== e;
    },
    he = function he(A, e, t) {
      return A === se ? ge(e) || Qe(e, t) : !!ge(A) || !(92 !== A || !Qe(A, e));
    },
    Ce = function Ce(A, e, t) {
      return A === ie || A === se ? !!ae(e) || 46 === e && ae(t) : ae(46 === A ? e : A);
    },
    Ue = function Ue(A) {
      var e = 0,
        t = 1;
      A[e] !== ie && A[e] !== se || (A[e] === se && (t = -1), e++);
      for (var r = []; ae(A[e]);) r.push(A[e++]);
      var n = r.length ? parseInt(BA.apply(void 0, r), 10) : 0;
      46 === A[e] && e++;
      for (var o = []; ae(A[e]);) o.push(A[e++]);
      var s = o.length,
        i = s ? parseInt(BA.apply(void 0, o), 10) : 0;
      69 !== A[e] && 101 !== A[e] || e++;
      var B = 1;
      A[e] !== ie && A[e] !== se || (A[e] === se && (B = -1), e++);
      for (var a = []; ae(A[e]);) a.push(A[e++]);
      var c = a.length ? parseInt(BA.apply(void 0, a), 10) : 0;
      return t * (n + i * Math.pow(10, -s)) * Math.pow(10, B * c);
    },
    de = {
      type: 2
    },
    Fe = {
      type: 3
    },
    pe = {
      type: 4
    },
    fe = {
      type: 13
    },
    He = {
      type: 8
    },
    Ee = {
      type: 21
    },
    Ie = {
      type: 9
    },
    me = {
      type: 10
    },
    ye = {
      type: 11
    },
    Ke = {
      type: 12
    },
    be = {
      type: 14
    },
    ve = {
      type: 23
    },
    Se = {
      type: 1
    },
    Le = {
      type: 25
    },
    De = {
      type: 24
    },
    xe = {
      type: 26
    },
    Te = {
      type: 27
    },
    Me = {
      type: 28
    },
    Oe = {
      type: 29
    },
    Ge = {
      type: 31
    },
    Pe = {
      type: 32
    },
    ke = function () {
      function A() {
        this._value = [];
      }
      return A.prototype.write = function (A) {
        this._value = this._value.concat(iA(A));
      }, A.prototype.read = function () {
        for (var A = [], e = this.consumeToken(); e !== Pe;) A.push(e), e = this.consumeToken();
        return A;
      }, A.prototype.consumeToken = function () {
        var A = this.consumeCodePoint();
        switch (A) {
          case 34:
            return this.consumeStringToken(34);
          case 35:
            var e = this.peekCodePoint(0),
              t = this.peekCodePoint(1),
              r = this.peekCodePoint(2);
            if (ue(e) || Qe(t, r)) {
              var n = he(e, t, r) ? 2 : 1;
              return {
                type: 5,
                value: this.consumeName(),
                flags: n
              };
            }
            break;
          case 36:
            if (61 === this.peekCodePoint(0)) return this.consumeCodePoint(), fe;
            break;
          case 39:
            return this.consumeStringToken(39);
          case 40:
            return de;
          case 41:
            return Fe;
          case 42:
            if (61 === this.peekCodePoint(0)) return this.consumeCodePoint(), be;
            break;
          case ie:
            if (Ce(A, this.peekCodePoint(0), this.peekCodePoint(1))) return this.reconsumeCodePoint(A), this.consumeNumericToken();
            break;
          case 44:
            return pe;
          case se:
            var o = A,
              s = this.peekCodePoint(0),
              i = this.peekCodePoint(1);
            if (Ce(o, s, i)) return this.reconsumeCodePoint(A), this.consumeNumericToken();
            if (he(o, s, i)) return this.reconsumeCodePoint(A), this.consumeIdentLikeToken();
            if (s === se && 62 === i) return this.consumeCodePoint(), this.consumeCodePoint(), De;
            break;
          case 46:
            if (Ce(A, this.peekCodePoint(0), this.peekCodePoint(1))) return this.reconsumeCodePoint(A), this.consumeNumericToken();
            break;
          case 47:
            if (42 === this.peekCodePoint(0)) for (this.consumeCodePoint();;) {
              var B = this.consumeCodePoint();
              if (42 === B && 47 === (B = this.consumeCodePoint())) return this.consumeToken();
              if (B === Be) return this.consumeToken();
            }
            break;
          case 58:
            return xe;
          case 59:
            return Te;
          case 60:
            if (33 === this.peekCodePoint(0) && this.peekCodePoint(1) === se && this.peekCodePoint(2) === se) return this.consumeCodePoint(), this.consumeCodePoint(), Le;
            break;
          case 64:
            var a = this.peekCodePoint(0),
              c = this.peekCodePoint(1),
              l = this.peekCodePoint(2);
            if (he(a, c, l)) return {
              type: 7,
              value: this.consumeName()
            };
            break;
          case 91:
            return Me;
          case 92:
            if (Qe(A, this.peekCodePoint(0))) return this.reconsumeCodePoint(A), this.consumeIdentLikeToken();
            break;
          case 93:
            return Oe;
          case 61:
            if (61 === this.peekCodePoint(0)) return this.consumeCodePoint(), He;
            break;
          case 123:
            return ye;
          case 125:
            return Ke;
          case 117:
          case 85:
            var g = this.peekCodePoint(0),
              u = this.peekCodePoint(1);
            return g !== ie || !ce(u) && 63 !== u || (this.consumeCodePoint(), this.consumeUnicodeRangeToken()), this.reconsumeCodePoint(A), this.consumeIdentLikeToken();
          case 124:
            if (61 === this.peekCodePoint(0)) return this.consumeCodePoint(), Ie;
            if (124 === this.peekCodePoint(0)) return this.consumeCodePoint(), Ee;
            break;
          case 126:
            if (61 === this.peekCodePoint(0)) return this.consumeCodePoint(), me;
            break;
          case Be:
            return Pe;
        }
        return le(A) ? (this.consumeWhiteSpace(), Ge) : ae(A) ? (this.reconsumeCodePoint(A), this.consumeNumericToken()) : ge(A) ? (this.reconsumeCodePoint(A), this.consumeIdentLikeToken()) : {
          type: 6,
          value: BA(A)
        };
      }, A.prototype.consumeCodePoint = function () {
        var A = this._value.shift();
        return void 0 === A ? -1 : A;
      }, A.prototype.reconsumeCodePoint = function (A) {
        this._value.unshift(A);
      }, A.prototype.peekCodePoint = function (A) {
        return A >= this._value.length ? -1 : this._value[A];
      }, A.prototype.consumeUnicodeRangeToken = function () {
        for (var A = [], e = this.consumeCodePoint(); ce(e) && A.length < 6;) A.push(e), e = this.consumeCodePoint();
        for (var t = !1; 63 === e && A.length < 6;) A.push(e), e = this.consumeCodePoint(), t = !0;
        if (t) return {
          type: 30,
          start: parseInt(BA.apply(void 0, A.map(function (A) {
            return 63 === A ? 48 : A;
          })), 16),
          end: parseInt(BA.apply(void 0, A.map(function (A) {
            return 63 === A ? 70 : A;
          })), 16)
        };
        var r = parseInt(BA.apply(void 0, A), 16);
        if (this.peekCodePoint(0) === se && ce(this.peekCodePoint(1))) {
          this.consumeCodePoint(), e = this.consumeCodePoint();
          for (var n = []; ce(e) && n.length < 6;) n.push(e), e = this.consumeCodePoint();
          return {
            type: 30,
            start: r,
            end: parseInt(BA.apply(void 0, n), 16)
          };
        }
        return {
          type: 30,
          start: r,
          end: r
        };
      }, A.prototype.consumeIdentLikeToken = function () {
        var A = this.consumeName();
        return "url" === A.toLowerCase() && 40 === this.peekCodePoint(0) ? (this.consumeCodePoint(), this.consumeUrlToken()) : 40 === this.peekCodePoint(0) ? (this.consumeCodePoint(), {
          type: 19,
          value: A
        }) : {
          type: 20,
          value: A
        };
      }, A.prototype.consumeUrlToken = function () {
        var A = [];
        if (this.consumeWhiteSpace(), this.peekCodePoint(0) === Be) return {
          type: 22,
          value: ""
        };
        var e = this.peekCodePoint(0);
        if (39 === e || 34 === e) {
          var t = this.consumeStringToken(this.consumeCodePoint());
          return 0 === t.type && (this.consumeWhiteSpace(), this.peekCodePoint(0) === Be || 41 === this.peekCodePoint(0)) ? (this.consumeCodePoint(), {
            type: 22,
            value: t.value
          }) : (this.consumeBadUrlRemnants(), ve);
        }
        for (;;) {
          var r = this.consumeCodePoint();
          if (r === Be || 41 === r) return {
            type: 22,
            value: BA.apply(void 0, A)
          };
          if (le(r)) return this.consumeWhiteSpace(), this.peekCodePoint(0) === Be || 41 === this.peekCodePoint(0) ? (this.consumeCodePoint(), {
            type: 22,
            value: BA.apply(void 0, A)
          }) : (this.consumeBadUrlRemnants(), ve);
          if (34 === r || 39 === r || 40 === r || we(r)) return this.consumeBadUrlRemnants(), ve;
          if (92 === r) {
            if (!Qe(r, this.peekCodePoint(0))) return this.consumeBadUrlRemnants(), ve;
            A.push(this.consumeEscapedCodePoint());
          } else A.push(r);
        }
      }, A.prototype.consumeWhiteSpace = function () {
        for (; le(this.peekCodePoint(0));) this.consumeCodePoint();
      }, A.prototype.consumeBadUrlRemnants = function () {
        for (;;) {
          var A = this.consumeCodePoint();
          if (41 === A || A === Be) return;
          Qe(A, this.peekCodePoint(0)) && this.consumeEscapedCodePoint();
        }
      }, A.prototype.consumeStringSlice = function (A) {
        for (var e = ""; A > 0;) {
          var t = Math.min(5e4, A);
          e += BA.apply(void 0, this._value.splice(0, t)), A -= t;
        }
        return this._value.shift(), e;
      }, A.prototype.consumeStringToken = function (A) {
        for (var e = "", t = 0;;) {
          var r = this._value[t];
          if (r === Be || void 0 === r || r === A) return {
            type: 0,
            value: e += this.consumeStringSlice(t)
          };
          if (10 === r) return this._value.splice(0, t), Se;
          if (92 === r) {
            var n = this._value[t + 1];
            n !== Be && void 0 !== n && (10 === n ? (e += this.consumeStringSlice(t), t = -1, this._value.shift()) : Qe(r, n) && (e += this.consumeStringSlice(t), e += BA(this.consumeEscapedCodePoint()), t = -1));
          }
          t++;
        }
      }, A.prototype.consumeNumber = function () {
        var A = [],
          e = 4,
          t = this.peekCodePoint(0);
        for (t !== ie && t !== se || A.push(this.consumeCodePoint()); ae(this.peekCodePoint(0));) A.push(this.consumeCodePoint());
        t = this.peekCodePoint(0);
        var r = this.peekCodePoint(1);
        if (46 === t && ae(r)) for (A.push(this.consumeCodePoint(), this.consumeCodePoint()), e = 8; ae(this.peekCodePoint(0));) A.push(this.consumeCodePoint());
        t = this.peekCodePoint(0), r = this.peekCodePoint(1);
        var n = this.peekCodePoint(2);
        if ((69 === t || 101 === t) && ((r === ie || r === se) && ae(n) || ae(r))) for (A.push(this.consumeCodePoint(), this.consumeCodePoint()), e = 8; ae(this.peekCodePoint(0));) A.push(this.consumeCodePoint());
        return [Ue(A), e];
      }, A.prototype.consumeNumericToken = function () {
        var A = this.consumeNumber(),
          e = A[0],
          t = A[1],
          r = this.peekCodePoint(0),
          n = this.peekCodePoint(1),
          o = this.peekCodePoint(2);
        return he(r, n, o) ? {
          type: 15,
          number: e,
          flags: t,
          unit: this.consumeName()
        } : 37 === r ? (this.consumeCodePoint(), {
          type: 16,
          number: e,
          flags: t
        }) : {
          type: 17,
          number: e,
          flags: t
        };
      }, A.prototype.consumeEscapedCodePoint = function () {
        var A = this.consumeCodePoint();
        if (ce(A)) {
          for (var e = BA(A); ce(this.peekCodePoint(0)) && e.length < 6;) e += BA(this.consumeCodePoint());
          le(this.peekCodePoint(0)) && this.consumeCodePoint();
          var t = parseInt(e, 16);
          return 0 === t || function (A) {
            return A >= 55296 && A <= 57343;
          }(t) || t > 1114111 ? 65533 : t;
        }
        return A === Be ? 65533 : A;
      }, A.prototype.consumeName = function () {
        for (var A = "";;) {
          var e = this.consumeCodePoint();
          if (ue(e)) A += BA(e);else {
            if (!Qe(e, this.peekCodePoint(0))) return this.reconsumeCodePoint(e), A;
            A += BA(this.consumeEscapedCodePoint());
          }
        }
      }, A;
    }(),
    Re = function () {
      function A(A) {
        this._tokens = A;
      }
      return A.create = function (e) {
        var t = new ke();
        return t.write(e), new A(t.read());
      }, A.parseValue = function (e) {
        return A.create(e).parseComponentValue();
      }, A.parseValues = function (e) {
        return A.create(e).parseComponentValues();
      }, A.prototype.parseComponentValue = function () {
        for (var A = this.consumeToken(); 31 === A.type;) A = this.consumeToken();
        if (32 === A.type) throw new SyntaxError("Error parsing CSS component value, unexpected EOF");
        this.reconsumeToken(A);
        var e = this.consumeComponentValue();
        do {
          A = this.consumeToken();
        } while (31 === A.type);
        if (32 === A.type) return e;
        throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one");
      }, A.prototype.parseComponentValues = function () {
        for (var A = [];;) {
          var e = this.consumeComponentValue();
          if (32 === e.type) return A;
          A.push(e), A.push();
        }
      }, A.prototype.consumeComponentValue = function () {
        var A = this.consumeToken();
        switch (A.type) {
          case 11:
          case 28:
          case 2:
            return this.consumeSimpleBlock(A.type);
          case 19:
            return this.consumeFunction(A);
        }
        return A;
      }, A.prototype.consumeSimpleBlock = function (A) {
        for (var e = {
            type: A,
            values: []
          }, t = this.consumeToken();;) {
          if (32 === t.type || qe(t, A)) return e;
          this.reconsumeToken(t), e.values.push(this.consumeComponentValue()), t = this.consumeToken();
        }
      }, A.prototype.consumeFunction = function (A) {
        for (var e = {
          name: A.value,
          values: [],
          type: 18
        };;) {
          var t = this.consumeToken();
          if (32 === t.type || 3 === t.type) return e;
          this.reconsumeToken(t), e.values.push(this.consumeComponentValue());
        }
      }, A.prototype.consumeToken = function () {
        var A = this._tokens.shift();
        return void 0 === A ? Pe : A;
      }, A.prototype.reconsumeToken = function (A) {
        this._tokens.unshift(A);
      }, A;
    }(),
    Ve = function Ve(A) {
      return 15 === A.type;
    },
    Xe = function Xe(A) {
      return 17 === A.type;
    },
    Ne = function Ne(A) {
      return 20 === A.type;
    },
    Je = function Je(A) {
      return 0 === A.type;
    },
    Ye = function Ye(A, e) {
      return Ne(A) && A.value === e;
    },
    We = function We(A) {
      return 31 !== A.type;
    },
    Ze = function Ze(A) {
      return 31 !== A.type && 4 !== A.type;
    },
    ze = function ze(A) {
      var e = [],
        t = [];
      return A.forEach(function (A) {
        if (4 === A.type) {
          if (0 === t.length) throw new Error("Error parsing function args, zero tokens for arg");
          return e.push(t), void (t = []);
        }
        31 !== A.type && t.push(A);
      }), t.length && e.push(t), e;
    },
    qe = function qe(A, e) {
      return 11 === e && 12 === A.type || 28 === e && 29 === A.type || 2 === e && 3 === A.type;
    },
    je = function je(A) {
      return 17 === A.type || 15 === A.type;
    },
    _e = function _e(A) {
      return 16 === A.type || je(A);
    },
    $e = function $e(A) {
      return A.length > 1 ? [A[0], A[1]] : [A[0]];
    },
    At = {
      type: 17,
      number: 0,
      flags: 4
    },
    et = {
      type: 16,
      number: 50,
      flags: 4
    },
    tt = {
      type: 16,
      number: 100,
      flags: 4
    },
    rt = function rt(A, e, t) {
      var r = A[0],
        n = A[1];
      return [nt(r, e), nt(void 0 !== n ? n : r, t)];
    },
    nt = function nt(A, e) {
      if (16 === A.type) return A.number / 100 * e;
      if (Ve(A)) switch (A.unit) {
        case "rem":
        case "em":
          return 16 * A.number;
        default:
          return A.number;
      }
      return A.number;
    },
    ot = "grad",
    st = "turn",
    it = function it(A, e) {
      if (15 === e.type) switch (e.unit) {
        case "deg":
          return Math.PI * e.number / 180;
        case ot:
          return Math.PI / 200 * e.number;
        case "rad":
          return e.number;
        case st:
          return 2 * Math.PI * e.number;
      }
      throw new Error("Unsupported angle type");
    },
    Bt = function Bt(A) {
      return 15 === A.type && ("deg" === A.unit || A.unit === ot || "rad" === A.unit || A.unit === st);
    },
    at = function at(A) {
      switch (A.filter(Ne).map(function (A) {
        return A.value;
      }).join(" ")) {
        case "to bottom right":
        case "to right bottom":
        case "left top":
        case "top left":
          return [At, At];
        case "to top":
        case "bottom":
          return ct(0);
        case "to bottom left":
        case "to left bottom":
        case "right top":
        case "top right":
          return [At, tt];
        case "to right":
        case "left":
          return ct(90);
        case "to top left":
        case "to left top":
        case "right bottom":
        case "bottom right":
          return [tt, tt];
        case "to bottom":
        case "top":
          return ct(180);
        case "to top right":
        case "to right top":
        case "left bottom":
        case "bottom left":
          return [tt, At];
        case "to left":
        case "right":
          return ct(270);
      }
      return 0;
    },
    ct = function ct(A) {
      return Math.PI * A / 180;
    },
    lt = function lt(A, e) {
      if (18 === e.type) {
        var t = dt[e.name];
        if (void 0 === t) throw new Error('Attempting to parse an unsupported color function "' + e.name + '"');
        return t(A, e.values);
      }
      if (5 === e.type) {
        if (3 === e.value.length) {
          var r = e.value.substring(0, 1),
            n = e.value.substring(1, 2),
            o = e.value.substring(2, 3);
          return wt(parseInt(r + r, 16), parseInt(n + n, 16), parseInt(o + o, 16), 1);
        }
        if (4 === e.value.length) {
          r = e.value.substring(0, 1), n = e.value.substring(1, 2), o = e.value.substring(2, 3);
          var s = e.value.substring(3, 4);
          return wt(parseInt(r + r, 16), parseInt(n + n, 16), parseInt(o + o, 16), parseInt(s + s, 16) / 255);
        }
        if (6 === e.value.length) {
          r = e.value.substring(0, 2), n = e.value.substring(2, 4), o = e.value.substring(4, 6);
          return wt(parseInt(r, 16), parseInt(n, 16), parseInt(o, 16), 1);
        }
        if (8 === e.value.length) {
          r = e.value.substring(0, 2), n = e.value.substring(2, 4), o = e.value.substring(4, 6), s = e.value.substring(6, 8);
          return wt(parseInt(r, 16), parseInt(n, 16), parseInt(o, 16), parseInt(s, 16) / 255);
        }
      }
      if (20 === e.type) {
        var i = pt[e.value.toUpperCase()];
        if (void 0 !== i) return i;
      }
      return pt.TRANSPARENT;
    },
    gt = function gt(A) {
      return 0 == (255 & A);
    },
    ut = function ut(A) {
      var e = 255 & A,
        t = 255 & A >> 8,
        r = 255 & A >> 16,
        n = 255 & A >> 24;
      return e < 255 ? "rgba(" + n + "," + r + "," + t + "," + e / 255 + ")" : "rgb(" + n + "," + r + "," + t + ")";
    },
    wt = function wt(A, e, t, r) {
      return (A << 24 | e << 16 | t << 8 | Math.round(255 * r) << 0) >>> 0;
    },
    Qt = function Qt(A, e) {
      if (17 === A.type) return A.number;
      if (16 === A.type) {
        var t = 3 === e ? 1 : 255;
        return 3 === e ? A.number / 100 * t : Math.round(A.number / 100 * t);
      }
      return 0;
    },
    ht = function ht(A, e) {
      var t = e.filter(Ze);
      if (3 === t.length) {
        var r = t.map(Qt),
          n = r[0],
          o = r[1],
          s = r[2];
        return wt(n, o, s, 1);
      }
      if (4 === t.length) {
        var i = t.map(Qt),
          B = (n = i[0], o = i[1], s = i[2], i[3]);
        return wt(n, o, s, B);
      }
      return 0;
    };
  function Ct(A, e, t) {
    return t < 0 && (t += 1), t >= 1 && (t -= 1), t < 1 / 6 ? (e - A) * t * 6 + A : t < .5 ? e : t < 2 / 3 ? 6 * (e - A) * (2 / 3 - t) + A : A;
  }
  var Ut = function Ut(A, e) {
      var t = e.filter(Ze),
        r = t[0],
        n = t[1],
        o = t[2],
        s = t[3],
        i = (17 === r.type ? ct(r.number) : it(A, r)) / (2 * Math.PI),
        B = _e(n) ? n.number / 100 : 0,
        a = _e(o) ? o.number / 100 : 0,
        c = void 0 !== s && _e(s) ? nt(s, 1) : 1;
      if (0 === B) return wt(255 * a, 255 * a, 255 * a, 1);
      var l = a <= .5 ? a * (B + 1) : a + B - a * B,
        g = 2 * a - l,
        u = Ct(g, l, i + 1 / 3),
        w = Ct(g, l, i),
        Q = Ct(g, l, i - 1 / 3);
      return wt(255 * u, 255 * w, 255 * Q, c);
    },
    dt = {
      hsl: Ut,
      hsla: Ut,
      rgb: ht,
      rgba: ht
    },
    Ft = function Ft(A, e) {
      return lt(A, Re.create(e).parseComponentValue());
    },
    pt = {
      ALICEBLUE: 4042850303,
      ANTIQUEWHITE: 4209760255,
      AQUA: 16777215,
      AQUAMARINE: 2147472639,
      AZURE: 4043309055,
      BEIGE: 4126530815,
      BISQUE: 4293182719,
      BLACK: 255,
      BLANCHEDALMOND: 4293643775,
      BLUE: 65535,
      BLUEVIOLET: 2318131967,
      BROWN: 2771004159,
      BURLYWOOD: 3736635391,
      CADETBLUE: 1604231423,
      CHARTREUSE: 2147418367,
      CHOCOLATE: 3530104575,
      CORAL: 4286533887,
      CORNFLOWERBLUE: 1687547391,
      CORNSILK: 4294499583,
      CRIMSON: 3692313855,
      CYAN: 16777215,
      DARKBLUE: 35839,
      DARKCYAN: 9145343,
      DARKGOLDENROD: 3095837695,
      DARKGRAY: 2846468607,
      DARKGREEN: 6553855,
      DARKGREY: 2846468607,
      DARKKHAKI: 3182914559,
      DARKMAGENTA: 2332068863,
      DARKOLIVEGREEN: 1433087999,
      DARKORANGE: 4287365375,
      DARKORCHID: 2570243327,
      DARKRED: 2332033279,
      DARKSALMON: 3918953215,
      DARKSEAGREEN: 2411499519,
      DARKSLATEBLUE: 1211993087,
      DARKSLATEGRAY: 793726975,
      DARKSLATEGREY: 793726975,
      DARKTURQUOISE: 13554175,
      DARKVIOLET: 2483082239,
      DEEPPINK: 4279538687,
      DEEPSKYBLUE: 12582911,
      DIMGRAY: 1768516095,
      DIMGREY: 1768516095,
      DODGERBLUE: 512819199,
      FIREBRICK: 2988581631,
      FLORALWHITE: 4294635775,
      FORESTGREEN: 579543807,
      FUCHSIA: 4278255615,
      GAINSBORO: 3705462015,
      GHOSTWHITE: 4177068031,
      GOLD: 4292280575,
      GOLDENROD: 3668254975,
      GRAY: 2155905279,
      GREEN: 8388863,
      GREENYELLOW: 2919182335,
      GREY: 2155905279,
      HONEYDEW: 4043305215,
      HOTPINK: 4285117695,
      INDIANRED: 3445382399,
      INDIGO: 1258324735,
      IVORY: 4294963455,
      KHAKI: 4041641215,
      LAVENDER: 3873897215,
      LAVENDERBLUSH: 4293981695,
      LAWNGREEN: 2096890111,
      LEMONCHIFFON: 4294626815,
      LIGHTBLUE: 2916673279,
      LIGHTCORAL: 4034953471,
      LIGHTCYAN: 3774873599,
      LIGHTGOLDENRODYELLOW: 4210742015,
      LIGHTGRAY: 3553874943,
      LIGHTGREEN: 2431553791,
      LIGHTGREY: 3553874943,
      LIGHTPINK: 4290167295,
      LIGHTSALMON: 4288707327,
      LIGHTSEAGREEN: 548580095,
      LIGHTSKYBLUE: 2278488831,
      LIGHTSLATEGRAY: 2005441023,
      LIGHTSLATEGREY: 2005441023,
      LIGHTSTEELBLUE: 2965692159,
      LIGHTYELLOW: 4294959359,
      LIME: 16711935,
      LIMEGREEN: 852308735,
      LINEN: 4210091775,
      MAGENTA: 4278255615,
      MAROON: 2147483903,
      MEDIUMAQUAMARINE: 1724754687,
      MEDIUMBLUE: 52735,
      MEDIUMORCHID: 3126187007,
      MEDIUMPURPLE: 2473647103,
      MEDIUMSEAGREEN: 1018393087,
      MEDIUMSLATEBLUE: 2070474495,
      MEDIUMSPRINGGREEN: 16423679,
      MEDIUMTURQUOISE: 1221709055,
      MEDIUMVIOLETRED: 3340076543,
      MIDNIGHTBLUE: 421097727,
      MINTCREAM: 4127193855,
      MISTYROSE: 4293190143,
      MOCCASIN: 4293178879,
      NAVAJOWHITE: 4292783615,
      NAVY: 33023,
      OLDLACE: 4260751103,
      OLIVE: 2155872511,
      OLIVEDRAB: 1804477439,
      ORANGE: 4289003775,
      ORANGERED: 4282712319,
      ORCHID: 3664828159,
      PALEGOLDENROD: 4008225535,
      PALEGREEN: 2566625535,
      PALETURQUOISE: 2951671551,
      PALEVIOLETRED: 3681588223,
      PAPAYAWHIP: 4293907967,
      PEACHPUFF: 4292524543,
      PERU: 3448061951,
      PINK: 4290825215,
      PLUM: 3718307327,
      POWDERBLUE: 2967529215,
      PURPLE: 2147516671,
      REBECCAPURPLE: 1714657791,
      RED: 4278190335,
      ROSYBROWN: 3163525119,
      ROYALBLUE: 1097458175,
      SADDLEBROWN: 2336560127,
      SALMON: 4202722047,
      SANDYBROWN: 4104413439,
      SEAGREEN: 780883967,
      SEASHELL: 4294307583,
      SIENNA: 2689740287,
      SILVER: 3233857791,
      SKYBLUE: 2278484991,
      SLATEBLUE: 1784335871,
      SLATEGRAY: 1887473919,
      SLATEGREY: 1887473919,
      SNOW: 4294638335,
      SPRINGGREEN: 16744447,
      STEELBLUE: 1182971135,
      TAN: 3535047935,
      TEAL: 8421631,
      THISTLE: 3636451583,
      TOMATO: 4284696575,
      TRANSPARENT: 0,
      TURQUOISE: 1088475391,
      VIOLET: 4001558271,
      WHEAT: 4125012991,
      WHITE: 4294967295,
      WHITESMOKE: 4126537215,
      YELLOW: 4294902015,
      YELLOWGREEN: 2597139199
    },
    ft = {
      name: "background-clip",
      initialValue: "border-box",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return e.map(function (A) {
          if (Ne(A)) switch (A.value) {
            case "padding-box":
              return 1;
            case "content-box":
              return 2;
          }
          return 0;
        });
      }
    },
    Ht = {
      name: "background-color",
      initialValue: "transparent",
      prefix: !1,
      type: 3,
      format: "color"
    },
    Et = function Et(A, e) {
      var t = lt(A, e[0]),
        r = e[1];
      return r && _e(r) ? {
        color: t,
        stop: r
      } : {
        color: t,
        stop: null
      };
    },
    It = function It(A, e) {
      var t = A[0],
        r = A[A.length - 1];
      null === t.stop && (t.stop = At), null === r.stop && (r.stop = tt);
      for (var n = [], o = 0, s = 0; s < A.length; s++) {
        var i = A[s].stop;
        if (null !== i) {
          var B = nt(i, e);
          B > o ? n.push(B) : n.push(o), o = B;
        } else n.push(null);
      }
      var a = null;
      for (s = 0; s < n.length; s++) {
        var c = n[s];
        if (null === c) null === a && (a = s);else if (null !== a) {
          for (var l = s - a, g = (c - n[a - 1]) / (l + 1), u = 1; u <= l; u++) n[a + u - 1] = g * u;
          a = null;
        }
      }
      return A.map(function (A, t) {
        return {
          color: A.color,
          stop: Math.max(Math.min(1, n[t] / e), 0)
        };
      });
    },
    mt = function mt(A, e, t) {
      var r = "number" == typeof A ? A : function (A, e, t) {
          var r = e / 2,
            n = t / 2,
            o = nt(A[0], e) - r,
            s = n - nt(A[1], t);
          return (Math.atan2(s, o) + 2 * Math.PI) % (2 * Math.PI);
        }(A, e, t),
        n = Math.abs(e * Math.sin(r)) + Math.abs(t * Math.cos(r)),
        o = e / 2,
        s = t / 2,
        i = n / 2,
        B = Math.sin(r - Math.PI / 2) * i,
        a = Math.cos(r - Math.PI / 2) * i;
      return [n, o - a, o + a, s - B, s + B];
    },
    yt = function yt(A, e) {
      return Math.sqrt(A * A + e * e);
    },
    Kt = function Kt(A, e, t, r, n) {
      return [[0, 0], [0, e], [A, 0], [A, e]].reduce(function (A, e) {
        var o = e[0],
          s = e[1],
          i = yt(t - o, r - s);
        return (n ? i < A.optimumDistance : i > A.optimumDistance) ? {
          optimumCorner: e,
          optimumDistance: i
        } : A;
      }, {
        optimumDistance: n ? 1 / 0 : -1 / 0,
        optimumCorner: null
      }).optimumCorner;
    },
    bt = function bt(A, e) {
      var t = ct(180),
        r = [];
      return ze(e).forEach(function (e, n) {
        if (0 === n) {
          var o = e[0];
          if (20 === o.type && -1 !== ["top", "left", "right", "bottom"].indexOf(o.value)) return void (t = at(e));
          if (Bt(o)) return void (t = (it(A, o) + ct(270)) % ct(360));
        }
        var s = Et(A, e);
        r.push(s);
      }), {
        angle: t,
        stops: r,
        type: 1
      };
    },
    vt = "closest-side",
    St = "farthest-side",
    Lt = "closest-corner",
    Dt = "farthest-corner",
    xt = "circle",
    Tt = "ellipse",
    Mt = "cover",
    Ot = "contain",
    Gt = function Gt(A, e) {
      var t = 0,
        r = 3,
        n = [],
        o = [];
      return ze(e).forEach(function (e, s) {
        var i = !0;
        if (0 === s ? i = e.reduce(function (A, e) {
          if (Ne(e)) switch (e.value) {
            case "center":
              return o.push(et), !1;
            case "top":
            case "left":
              return o.push(At), !1;
            case "right":
            case "bottom":
              return o.push(tt), !1;
          } else if (_e(e) || je(e)) return o.push(e), !1;
          return A;
        }, i) : 1 === s && (i = e.reduce(function (A, e) {
          if (Ne(e)) switch (e.value) {
            case xt:
              return t = 0, !1;
            case Tt:
              return t = 1, !1;
            case Ot:
            case vt:
              return r = 0, !1;
            case St:
              return r = 1, !1;
            case Lt:
              return r = 2, !1;
            case Mt:
            case Dt:
              return r = 3, !1;
          } else if (je(e) || _e(e)) return Array.isArray(r) || (r = []), r.push(e), !1;
          return A;
        }, i)), i) {
          var B = Et(A, e);
          n.push(B);
        }
      }), {
        size: r,
        shape: t,
        stops: n,
        position: o,
        type: 2
      };
    },
    Pt = function Pt(A, e) {
      if (22 === e.type) {
        var t = {
          url: e.value,
          type: 0
        };
        return A.cache.addImage(e.value), t;
      }
      if (18 === e.type) {
        var r = Rt[e.name];
        if (void 0 === r) throw new Error('Attempting to parse an unsupported image function "' + e.name + '"');
        return r(A, e.values);
      }
      throw new Error("Unsupported image type " + e.type);
    };
  var kt,
    Rt = {
      "linear-gradient": function linearGradient(A, e) {
        var t = ct(180),
          r = [];
        return ze(e).forEach(function (e, n) {
          if (0 === n) {
            var o = e[0];
            if (20 === o.type && "to" === o.value) return void (t = at(e));
            if (Bt(o)) return void (t = it(A, o));
          }
          var s = Et(A, e);
          r.push(s);
        }), {
          angle: t,
          stops: r,
          type: 1
        };
      },
      "-moz-linear-gradient": bt,
      "-ms-linear-gradient": bt,
      "-o-linear-gradient": bt,
      "-webkit-linear-gradient": bt,
      "radial-gradient": function radialGradient(A, e) {
        var t = 0,
          r = 3,
          n = [],
          o = [];
        return ze(e).forEach(function (e, s) {
          var i = !0;
          if (0 === s) {
            var B = !1;
            i = e.reduce(function (A, e) {
              if (B) {
                if (Ne(e)) switch (e.value) {
                  case "center":
                    return o.push(et), A;
                  case "top":
                  case "left":
                    return o.push(At), A;
                  case "right":
                  case "bottom":
                    return o.push(tt), A;
                } else (_e(e) || je(e)) && o.push(e);
              } else if (Ne(e)) switch (e.value) {
                case xt:
                  return t = 0, !1;
                case Tt:
                  return t = 1, !1;
                case "at":
                  return B = !0, !1;
                case vt:
                  return r = 0, !1;
                case Mt:
                case St:
                  return r = 1, !1;
                case Ot:
                case Lt:
                  return r = 2, !1;
                case Dt:
                  return r = 3, !1;
              } else if (je(e) || _e(e)) return Array.isArray(r) || (r = []), r.push(e), !1;
              return A;
            }, i);
          }
          if (i) {
            var a = Et(A, e);
            n.push(a);
          }
        }), {
          size: r,
          shape: t,
          stops: n,
          position: o,
          type: 2
        };
      },
      "-moz-radial-gradient": Gt,
      "-ms-radial-gradient": Gt,
      "-o-radial-gradient": Gt,
      "-webkit-radial-gradient": Gt,
      "-webkit-gradient": function webkitGradient(A, e) {
        var t = ct(180),
          r = [],
          n = 1;
        return ze(e).forEach(function (e, t) {
          var o = e[0];
          if (0 === t) {
            if (Ne(o) && "linear" === o.value) return void (n = 1);
            if (Ne(o) && "radial" === o.value) return void (n = 2);
          }
          if (18 === o.type) if ("from" === o.name) {
            var s = lt(A, o.values[0]);
            r.push({
              stop: At,
              color: s
            });
          } else if ("to" === o.name) {
            s = lt(A, o.values[0]);
            r.push({
              stop: tt,
              color: s
            });
          } else if ("color-stop" === o.name) {
            var i = o.values.filter(Ze);
            if (2 === i.length) {
              s = lt(A, i[1]);
              var B = i[0];
              Xe(B) && r.push({
                stop: {
                  type: 16,
                  number: 100 * B.number,
                  flags: B.flags
                },
                color: s
              });
            }
          }
        }), 1 === n ? {
          angle: (t + ct(180)) % ct(360),
          stops: r,
          type: n
        } : {
          size: 3,
          shape: 0,
          stops: r,
          position: [],
          type: n
        };
      }
    },
    Vt = {
      name: "background-image",
      initialValue: "none",
      type: 1,
      prefix: !1,
      parse: function parse(A, e) {
        if (0 === e.length) return [];
        var t = e[0];
        return 20 === t.type && "none" === t.value ? [] : e.filter(function (A) {
          return Ze(A) && function (A) {
            return !(20 === A.type && "none" === A.value || 18 === A.type && !Rt[A.name]);
          }(A);
        }).map(function (e) {
          return Pt(A, e);
        });
      }
    },
    Xt = {
      name: "background-origin",
      initialValue: "border-box",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return e.map(function (A) {
          if (Ne(A)) switch (A.value) {
            case "padding-box":
              return 1;
            case "content-box":
              return 2;
          }
          return 0;
        });
      }
    },
    Nt = {
      name: "background-position",
      initialValue: "0% 0%",
      type: 1,
      prefix: !1,
      parse: function parse(A, e) {
        return ze(e).map(function (A) {
          return A.filter(_e);
        }).map($e);
      }
    },
    Jt = {
      name: "background-repeat",
      initialValue: "repeat",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return ze(e).map(function (A) {
          return A.filter(Ne).map(function (A) {
            return A.value;
          }).join(" ");
        }).map(Yt);
      }
    },
    Yt = function Yt(A) {
      switch (A) {
        case "no-repeat":
          return 1;
        case "repeat-x":
        case "repeat no-repeat":
          return 2;
        case "repeat-y":
        case "no-repeat repeat":
          return 3;
        default:
          return 0;
      }
    };
  !function (A) {
    A.AUTO = "auto", A.CONTAIN = "contain", A.COVER = "cover";
  }(kt || (kt = {}));
  var Wt,
    Zt = {
      name: "background-size",
      initialValue: "0",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return ze(e).map(function (A) {
          return A.filter(zt);
        });
      }
    },
    zt = function zt(A) {
      return Ne(A) || _e(A);
    },
    qt = function qt(A) {
      return {
        name: "border-" + A + "-color",
        initialValue: "transparent",
        prefix: !1,
        type: 3,
        format: "color"
      };
    },
    jt = qt("top"),
    _t = qt("right"),
    $t = qt("bottom"),
    Ar = qt("left"),
    er = function er(A) {
      return {
        name: "border-radius-" + A,
        initialValue: "0 0",
        prefix: !1,
        type: 1,
        parse: function parse(A, e) {
          return $e(e.filter(_e));
        }
      };
    },
    tr = er("top-left"),
    rr = er("top-right"),
    nr = er("bottom-right"),
    or = er("bottom-left"),
    sr = function sr(A) {
      return {
        name: "border-" + A + "-style",
        initialValue: "solid",
        prefix: !1,
        type: 2,
        parse: function parse(A, e) {
          switch (e) {
            case "none":
              return 0;
            case "dashed":
              return 2;
            case "dotted":
              return 3;
            case "double":
              return 4;
          }
          return 1;
        }
      };
    },
    ir = sr("top"),
    Br = sr("right"),
    ar = sr("bottom"),
    cr = sr("left"),
    lr = function lr(A) {
      return {
        name: "border-" + A + "-width",
        initialValue: "0",
        type: 0,
        prefix: !1,
        parse: function parse(A, e) {
          return Ve(e) ? e.number : 0;
        }
      };
    },
    gr = lr("top"),
    ur = lr("right"),
    wr = lr("bottom"),
    Qr = lr("left"),
    hr = {
      name: "color",
      initialValue: "transparent",
      prefix: !1,
      type: 3,
      format: "color"
    },
    Cr = {
      name: "direction",
      initialValue: "ltr",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        return "rtl" === e ? 1 : 0;
      }
    },
    Ur = {
      name: "display",
      initialValue: "inline-block",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return e.filter(Ne).reduce(function (A, e) {
          return A | dr(e.value);
        }, 0);
      }
    },
    dr = function dr(A) {
      switch (A) {
        case "block":
        case "-webkit-box":
          return 2;
        case "inline":
          return 4;
        case "run-in":
          return 8;
        case "flow":
          return 16;
        case "flow-root":
          return 32;
        case "table":
          return 64;
        case "flex":
        case "-webkit-flex":
          return 128;
        case "grid":
        case "-ms-grid":
          return 256;
        case "ruby":
          return 512;
        case "subgrid":
          return 1024;
        case "list-item":
          return 2048;
        case "table-row-group":
          return 4096;
        case "table-header-group":
          return 8192;
        case "table-footer-group":
          return 16384;
        case "table-row":
          return 32768;
        case "table-cell":
          return 65536;
        case "table-column-group":
          return 131072;
        case "table-column":
          return 262144;
        case "table-caption":
          return 524288;
        case "ruby-base":
          return 1048576;
        case "ruby-text":
          return 2097152;
        case "ruby-base-container":
          return 4194304;
        case "ruby-text-container":
          return 8388608;
        case "contents":
          return 16777216;
        case "inline-block":
          return 33554432;
        case "inline-list-item":
          return 67108864;
        case "inline-table":
          return 134217728;
        case "inline-flex":
          return 268435456;
        case "inline-grid":
          return 536870912;
      }
      return 0;
    },
    Fr = {
      name: "float",
      initialValue: "none",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "left":
            return 1;
          case "right":
            return 2;
          case "inline-start":
            return 3;
          case "inline-end":
            return 4;
        }
        return 0;
      }
    },
    pr = {
      name: "letter-spacing",
      initialValue: "0",
      prefix: !1,
      type: 0,
      parse: function parse(A, e) {
        return 20 === e.type && "normal" === e.value ? 0 : 17 === e.type || 15 === e.type ? e.number : 0;
      }
    };
  !function (A) {
    A.NORMAL = "normal", A.STRICT = "strict";
  }(Wt || (Wt = {}));
  var fr,
    Hr = {
      name: "line-break",
      initialValue: "normal",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        return "strict" === e ? Wt.STRICT : Wt.NORMAL;
      }
    },
    Er = {
      name: "line-height",
      initialValue: "normal",
      prefix: !1,
      type: 4
    },
    Ir = function Ir(A, e) {
      return Ne(A) && "normal" === A.value ? 1.2 * e : 17 === A.type ? e * A.number : _e(A) ? nt(A, e) : e;
    },
    mr = {
      name: "list-style-image",
      initialValue: "none",
      type: 0,
      prefix: !1,
      parse: function parse(A, e) {
        return 20 === e.type && "none" === e.value ? null : Pt(A, e);
      }
    },
    yr = {
      name: "list-style-position",
      initialValue: "outside",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        return "inside" === e ? 0 : 1;
      }
    },
    Kr = {
      name: "list-style-type",
      initialValue: "none",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "disc":
            return 0;
          case "circle":
            return 1;
          case "square":
            return 2;
          case "decimal":
            return 3;
          case "cjk-decimal":
            return 4;
          case "decimal-leading-zero":
            return 5;
          case "lower-roman":
            return 6;
          case "upper-roman":
            return 7;
          case "lower-greek":
            return 8;
          case "lower-alpha":
            return 9;
          case "upper-alpha":
            return 10;
          case "arabic-indic":
            return 11;
          case "armenian":
            return 12;
          case "bengali":
            return 13;
          case "cambodian":
            return 14;
          case "cjk-earthly-branch":
            return 15;
          case "cjk-heavenly-stem":
            return 16;
          case "cjk-ideographic":
            return 17;
          case "devanagari":
            return 18;
          case "ethiopic-numeric":
            return 19;
          case "georgian":
            return 20;
          case "gujarati":
            return 21;
          case "gurmukhi":
          case "hebrew":
            return 22;
          case "hiragana":
            return 23;
          case "hiragana-iroha":
            return 24;
          case "japanese-formal":
            return 25;
          case "japanese-informal":
            return 26;
          case "kannada":
            return 27;
          case "katakana":
            return 28;
          case "katakana-iroha":
            return 29;
          case "khmer":
            return 30;
          case "korean-hangul-formal":
            return 31;
          case "korean-hanja-formal":
            return 32;
          case "korean-hanja-informal":
            return 33;
          case "lao":
            return 34;
          case "lower-armenian":
            return 35;
          case "malayalam":
            return 36;
          case "mongolian":
            return 37;
          case "myanmar":
            return 38;
          case "oriya":
            return 39;
          case "persian":
            return 40;
          case "simp-chinese-formal":
            return 41;
          case "simp-chinese-informal":
            return 42;
          case "tamil":
            return 43;
          case "telugu":
            return 44;
          case "thai":
            return 45;
          case "tibetan":
            return 46;
          case "trad-chinese-formal":
            return 47;
          case "trad-chinese-informal":
            return 48;
          case "upper-armenian":
            return 49;
          case "disclosure-open":
            return 50;
          case "disclosure-closed":
            return 51;
          default:
            return -1;
        }
      }
    },
    br = function br(A) {
      return {
        name: "margin-" + A,
        initialValue: "0",
        prefix: !1,
        type: 4
      };
    },
    vr = br("top"),
    Sr = br("right"),
    Lr = br("bottom"),
    Dr = br("left"),
    xr = {
      name: "overflow",
      initialValue: "visible",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return e.filter(Ne).map(function (A) {
          switch (A.value) {
            case "hidden":
              return 1;
            case "scroll":
              return 2;
            case "clip":
              return 3;
            case "auto":
              return 4;
            default:
              return 0;
          }
        });
      }
    },
    Tr = {
      name: "overflow-wrap",
      initialValue: "normal",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        return "break-word" === e ? "break-word" : "normal";
      }
    },
    Mr = function Mr(A) {
      return {
        name: "padding-" + A,
        initialValue: "0",
        prefix: !1,
        type: 3,
        format: "length-percentage"
      };
    },
    Or = Mr("top"),
    Gr = Mr("right"),
    Pr = Mr("bottom"),
    kr = Mr("left"),
    Rr = {
      name: "text-align",
      initialValue: "left",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "right":
            return 2;
          case "center":
          case "justify":
            return 1;
          default:
            return 0;
        }
      }
    },
    Vr = {
      name: "position",
      initialValue: "static",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "relative":
            return 1;
          case "absolute":
            return 2;
          case "fixed":
            return 3;
          case "sticky":
            return 4;
        }
        return 0;
      }
    },
    Xr = {
      name: "text-shadow",
      initialValue: "none",
      type: 1,
      prefix: !1,
      parse: function parse(A, e) {
        return 1 === e.length && Ye(e[0], "none") ? [] : ze(e).map(function (e) {
          for (var t = {
              color: pt.TRANSPARENT,
              offsetX: At,
              offsetY: At,
              blur: At
            }, r = 0, n = 0; n < e.length; n++) {
            var o = e[n];
            je(o) ? (0 === r ? t.offsetX = o : 1 === r ? t.offsetY = o : t.blur = o, r++) : t.color = lt(A, o);
          }
          return t;
        });
      }
    },
    Nr = {
      name: "text-transform",
      initialValue: "none",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "uppercase":
            return 2;
          case "lowercase":
            return 1;
          case "capitalize":
            return 3;
        }
        return 0;
      }
    },
    Jr = {
      name: "transform",
      initialValue: "none",
      prefix: !0,
      type: 0,
      parse: function parse(A, e) {
        if (20 === e.type && "none" === e.value) return null;
        if (18 === e.type) {
          var t = Yr[e.name];
          if (void 0 === t) throw new Error('Attempting to parse an unsupported transform function "' + e.name + '"');
          return t(e.values);
        }
        return null;
      }
    },
    Yr = {
      matrix: function matrix(A) {
        var e = A.filter(function (A) {
          return 17 === A.type;
        }).map(function (A) {
          return A.number;
        });
        return 6 === e.length ? e : null;
      },
      matrix3d: function matrix3d(A) {
        var e = A.filter(function (A) {
            return 17 === A.type;
          }).map(function (A) {
            return A.number;
          }),
          t = e[0],
          r = e[1];
        e[2], e[3];
        var n = e[4],
          o = e[5];
        e[6], e[7], e[8], e[9], e[10], e[11];
        var s = e[12],
          i = e[13];
        return e[14], e[15], 16 === e.length ? [t, r, n, o, s, i] : null;
      }
    },
    Wr = {
      type: 16,
      number: 50,
      flags: 4
    },
    Zr = [Wr, Wr],
    zr = {
      name: "transform-origin",
      initialValue: "50% 50%",
      prefix: !0,
      type: 1,
      parse: function parse(A, e) {
        var t = e.filter(_e);
        return 2 !== t.length ? Zr : [t[0], t[1]];
      }
    },
    qr = {
      name: "visible",
      initialValue: "none",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "hidden":
            return 1;
          case "collapse":
            return 2;
          default:
            return 0;
        }
      }
    };
  !function (A) {
    A.NORMAL = "normal", A.BREAK_ALL = "break-all", A.KEEP_ALL = "keep-all";
  }(fr || (fr = {}));
  for (var jr = {
      name: "word-break",
      initialValue: "normal",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "break-all":
            return fr.BREAK_ALL;
          case "keep-all":
            return fr.KEEP_ALL;
          default:
            return fr.NORMAL;
        }
      }
    }, _r = {
      name: "z-index",
      initialValue: "auto",
      prefix: !1,
      type: 0,
      parse: function parse(A, e) {
        if (20 === e.type) return {
          auto: !0,
          order: 0
        };
        if (Xe(e)) return {
          auto: !1,
          order: e.number
        };
        throw new Error("Invalid z-index number parsed");
      }
    }, $r = function $r(A, e) {
      if (15 === e.type) switch (e.unit.toLowerCase()) {
        case "s":
          return 1e3 * e.number;
        case "ms":
          return e.number;
      }
      throw new Error("Unsupported time type");
    }, An = {
      name: "opacity",
      initialValue: "1",
      type: 0,
      prefix: !1,
      parse: function parse(A, e) {
        return Xe(e) ? e.number : 1;
      }
    }, en = {
      name: "text-decoration-color",
      initialValue: "transparent",
      prefix: !1,
      type: 3,
      format: "color"
    }, tn = {
      name: "text-decoration-line",
      initialValue: "none",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return e.filter(Ne).map(function (A) {
          switch (A.value) {
            case "underline":
              return 1;
            case "overline":
              return 2;
            case "line-through":
              return 3;
            case "none":
              return 4;
          }
          return 0;
        }).filter(function (A) {
          return 0 !== A;
        });
      }
    }, rn = {
      name: "font-family",
      initialValue: "",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        var t = [],
          r = [];
        return e.forEach(function (A) {
          switch (A.type) {
            case 20:
            case 0:
              t.push(A.value);
              break;
            case 17:
              t.push(A.number.toString());
              break;
            case 4:
              r.push(t.join(" ")), t.length = 0;
          }
        }), t.length && r.push(t.join(" ")), r.map(function (A) {
          return -1 === A.indexOf(" ") ? A : "'" + A + "'";
        });
      }
    }, nn = {
      name: "font-size",
      initialValue: "0",
      prefix: !1,
      type: 3,
      format: "length"
    }, on = {
      name: "font-weight",
      initialValue: "normal",
      type: 0,
      prefix: !1,
      parse: function parse(A, e) {
        return Xe(e) ? e.number : Ne(e) && "bold" === e.value ? 700 : 400;
      }
    }, sn = {
      name: "font-variant",
      initialValue: "none",
      type: 1,
      prefix: !1,
      parse: function parse(A, e) {
        return e.filter(Ne).map(function (A) {
          return A.value;
        });
      }
    }, Bn = {
      name: "font-style",
      initialValue: "normal",
      prefix: !1,
      type: 2,
      parse: function parse(A, e) {
        switch (e) {
          case "oblique":
            return "oblique";
          case "italic":
            return "italic";
          default:
            return "normal";
        }
      }
    }, an = function an(A, e) {
      return 0 != (A & e);
    }, cn = {
      name: "content",
      initialValue: "none",
      type: 1,
      prefix: !1,
      parse: function parse(A, e) {
        if (0 === e.length) return [];
        var t = e[0];
        return 20 === t.type && "none" === t.value ? [] : e;
      }
    }, ln = {
      name: "counter-increment",
      initialValue: "none",
      prefix: !0,
      type: 1,
      parse: function parse(A, e) {
        if (0 === e.length) return null;
        var t = e[0];
        if (20 === t.type && "none" === t.value) return null;
        for (var r = [], n = e.filter(We), o = 0; o < n.length; o++) {
          var s = n[o],
            i = n[o + 1];
          if (20 === s.type) {
            var B = i && Xe(i) ? i.number : 1;
            r.push({
              counter: s.value,
              increment: B
            });
          }
        }
        return r;
      }
    }, gn = {
      name: "counter-reset",
      initialValue: "none",
      prefix: !0,
      type: 1,
      parse: function parse(A, e) {
        if (0 === e.length) return [];
        for (var t = [], r = e.filter(We), n = 0; n < r.length; n++) {
          var o = r[n],
            s = r[n + 1];
          if (Ne(o) && "none" !== o.value) {
            var i = s && Xe(s) ? s.number : 0;
            t.push({
              counter: o.value,
              reset: i
            });
          }
        }
        return t;
      }
    }, un = {
      name: "duration",
      initialValue: "0s",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        return e.filter(Ve).map(function (e) {
          return $r(A, e);
        });
      }
    }, wn = {
      name: "quotes",
      initialValue: "none",
      prefix: !0,
      type: 1,
      parse: function parse(A, e) {
        if (0 === e.length) return null;
        var t = e[0];
        if (20 === t.type && "none" === t.value) return null;
        var r = [],
          n = e.filter(Je);
        if (n.length % 2 != 0) return null;
        for (var o = 0; o < n.length; o += 2) {
          var s = n[o].value,
            i = n[o + 1].value;
          r.push({
            open: s,
            close: i
          });
        }
        return r;
      }
    }, Qn = function Qn(A, e, t) {
      if (!A) return "";
      var r = A[Math.min(e, A.length - 1)];
      return r ? t ? r.open : r.close : "";
    }, hn = {
      name: "box-shadow",
      initialValue: "none",
      type: 1,
      prefix: !1,
      parse: function parse(A, e) {
        return 1 === e.length && Ye(e[0], "none") ? [] : ze(e).map(function (e) {
          for (var t = {
              color: 255,
              offsetX: At,
              offsetY: At,
              blur: At,
              spread: At,
              inset: !1
            }, r = 0, n = 0; n < e.length; n++) {
            var o = e[n];
            Ye(o, "inset") ? t.inset = !0 : je(o) ? (0 === r ? t.offsetX = o : 1 === r ? t.offsetY = o : 2 === r ? t.blur = o : t.spread = o, r++) : t.color = lt(A, o);
          }
          return t;
        });
      }
    }, Cn = {
      name: "paint-order",
      initialValue: "normal",
      prefix: !1,
      type: 1,
      parse: function parse(A, e) {
        var t = [];
        return e.filter(Ne).forEach(function (A) {
          switch (A.value) {
            case "stroke":
              t.push(1);
              break;
            case "fill":
              t.push(0);
              break;
            case "markers":
              t.push(2);
          }
        }), [0, 1, 2].forEach(function (A) {
          -1 === t.indexOf(A) && t.push(A);
        }), t;
      }
    }, Un = {
      name: "-webkit-text-stroke-color",
      initialValue: "currentcolor",
      prefix: !1,
      type: 3,
      format: "color"
    }, dn = {
      name: "-webkit-text-stroke-width",
      initialValue: "0",
      type: 0,
      prefix: !1,
      parse: function parse(A, e) {
        return Ve(e) ? e.number : 0;
      }
    }, Fn = function () {
      function A(A, e) {
        var t, r;
        this.animationDuration = Hn(A, un, e.animationDuration), this.backgroundClip = Hn(A, ft, e.backgroundClip), this.backgroundColor = Hn(A, Ht, e.backgroundColor), this.backgroundImage = Hn(A, Vt, e.backgroundImage), this.backgroundOrigin = Hn(A, Xt, e.backgroundOrigin), this.backgroundPosition = Hn(A, Nt, e.backgroundPosition), this.backgroundRepeat = Hn(A, Jt, e.backgroundRepeat), this.backgroundSize = Hn(A, Zt, e.backgroundSize), this.borderTopColor = Hn(A, jt, e.borderTopColor), this.borderRightColor = Hn(A, _t, e.borderRightColor), this.borderBottomColor = Hn(A, $t, e.borderBottomColor), this.borderLeftColor = Hn(A, Ar, e.borderLeftColor), this.borderTopLeftRadius = Hn(A, tr, e.borderTopLeftRadius), this.borderTopRightRadius = Hn(A, rr, e.borderTopRightRadius), this.borderBottomRightRadius = Hn(A, nr, e.borderBottomRightRadius), this.borderBottomLeftRadius = Hn(A, or, e.borderBottomLeftRadius), this.borderTopStyle = Hn(A, ir, e.borderTopStyle), this.borderRightStyle = Hn(A, Br, e.borderRightStyle), this.borderBottomStyle = Hn(A, ar, e.borderBottomStyle), this.borderLeftStyle = Hn(A, cr, e.borderLeftStyle), this.borderTopWidth = Hn(A, gr, e.borderTopWidth), this.borderRightWidth = Hn(A, ur, e.borderRightWidth), this.borderBottomWidth = Hn(A, wr, e.borderBottomWidth), this.borderLeftWidth = Hn(A, Qr, e.borderLeftWidth), this.boxShadow = Hn(A, hn, e.boxShadow), this.color = Hn(A, hr, e.color), this.direction = Hn(A, Cr, e.direction), this.display = Hn(A, Ur, e.display), this.float = Hn(A, Fr, e.cssFloat), this.fontFamily = Hn(A, rn, e.fontFamily), this.fontSize = Hn(A, nn, e.fontSize), this.fontStyle = Hn(A, Bn, e.fontStyle), this.fontVariant = Hn(A, sn, e.fontVariant), this.fontWeight = Hn(A, on, e.fontWeight), this.letterSpacing = Hn(A, pr, e.letterSpacing), this.lineBreak = Hn(A, Hr, e.lineBreak), this.lineHeight = Hn(A, Er, e.lineHeight), this.listStyleImage = Hn(A, mr, e.listStyleImage), this.listStylePosition = Hn(A, yr, e.listStylePosition), this.listStyleType = Hn(A, Kr, e.listStyleType), this.marginTop = Hn(A, vr, e.marginTop), this.marginRight = Hn(A, Sr, e.marginRight), this.marginBottom = Hn(A, Lr, e.marginBottom), this.marginLeft = Hn(A, Dr, e.marginLeft), this.opacity = Hn(A, An, e.opacity);
        var n = Hn(A, xr, e.overflow);
        this.overflowX = n[0], this.overflowY = n[n.length > 1 ? 1 : 0], this.overflowWrap = Hn(A, Tr, e.overflowWrap), this.paddingTop = Hn(A, Or, e.paddingTop), this.paddingRight = Hn(A, Gr, e.paddingRight), this.paddingBottom = Hn(A, Pr, e.paddingBottom), this.paddingLeft = Hn(A, kr, e.paddingLeft), this.paintOrder = Hn(A, Cn, e.paintOrder), this.position = Hn(A, Vr, e.position), this.textAlign = Hn(A, Rr, e.textAlign), this.textDecorationColor = Hn(A, en, null !== (t = e.textDecorationColor) && void 0 !== t ? t : e.color), this.textDecorationLine = Hn(A, tn, null !== (r = e.textDecorationLine) && void 0 !== r ? r : e.textDecoration), this.textShadow = Hn(A, Xr, e.textShadow), this.textTransform = Hn(A, Nr, e.textTransform), this.transform = Hn(A, Jr, e.transform), this.transformOrigin = Hn(A, zr, e.transformOrigin), this.visibility = Hn(A, qr, e.visibility), this.webkitTextStrokeColor = Hn(A, Un, e.webkitTextStrokeColor), this.webkitTextStrokeWidth = Hn(A, dn, e.webkitTextStrokeWidth), this.wordBreak = Hn(A, jr, e.wordBreak), this.zIndex = Hn(A, _r, e.zIndex);
      }
      return A.prototype.isVisible = function () {
        return this.display > 0 && this.opacity > 0 && 0 === this.visibility;
      }, A.prototype.isTransparent = function () {
        return gt(this.backgroundColor);
      }, A.prototype.isTransformed = function () {
        return null !== this.transform;
      }, A.prototype.isPositioned = function () {
        return 0 !== this.position;
      }, A.prototype.isPositionedWithZIndex = function () {
        return this.isPositioned() && !this.zIndex.auto;
      }, A.prototype.isFloating = function () {
        return 0 !== this.float;
      }, A.prototype.isInlineLevel = function () {
        return an(this.display, 4) || an(this.display, 33554432) || an(this.display, 268435456) || an(this.display, 536870912) || an(this.display, 67108864) || an(this.display, 134217728);
      }, A;
    }(), pn = function pn(A, e) {
      this.content = Hn(A, cn, e.content), this.quotes = Hn(A, wn, e.quotes);
    }, fn = function fn(A, e) {
      this.counterIncrement = Hn(A, ln, e.counterIncrement), this.counterReset = Hn(A, gn, e.counterReset);
    }, Hn = function Hn(A, e, t) {
      var r = new ke(),
        n = null != t ? t.toString() : e.initialValue;
      r.write(n);
      var o = new Re(r.read());
      switch (e.type) {
        case 2:
          var s = o.parseComponentValue();
          return e.parse(A, Ne(s) ? s.value : e.initialValue);
        case 0:
          return e.parse(A, o.parseComponentValue());
        case 1:
          return e.parse(A, o.parseComponentValues());
        case 4:
          return o.parseComponentValue();
        case 3:
          switch (e.format) {
            case "angle":
              return it(A, o.parseComponentValue());
            case "color":
              return lt(A, o.parseComponentValue());
            case "image":
              return Pt(A, o.parseComponentValue());
            case "length":
              var i = o.parseComponentValue();
              return je(i) ? i : At;
            case "length-percentage":
              var B = o.parseComponentValue();
              return _e(B) ? B : At;
            case "time":
              return $r(A, o.parseComponentValue());
          }
      }
    }, En = function En(A, e) {
      var t = function (A) {
        switch (A.getAttribute("data-html2canvas-debug")) {
          case "all":
            return 1;
          case "clone":
            return 2;
          case "parse":
            return 3;
          case "render":
            return 4;
          default:
            return 0;
        }
      }(A);
      return 1 === t || e === t;
    }, In = function In(A, e) {
      this.context = A, this.textNodes = [], this.elements = [], this.flags = 0, En(e, 3), this.styles = new Fn(A, window.getComputedStyle(e, null)), vo(e) && (this.styles.animationDuration.some(function (A) {
        return A > 0;
      }) && (e.style.animationDuration = "0s"), null !== this.styles.transform && (e.style.transform = "none")), this.bounds = sA(this.context, e), En(e, 4) && (this.flags |= 16);
    }, mn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", yn = "undefined" == typeof Uint8Array ? [] : new Uint8Array(256), Kn = 0; Kn < mn.length; Kn++) yn[mn.charCodeAt(Kn)] = Kn;
  for (var bn = function bn(A, e, t) {
      return A.slice ? A.slice(e, t) : new Uint16Array(Array.prototype.slice.call(A, e, t));
    }, vn = function () {
      function A(A, e, t, r, n, o) {
        this.initialValue = A, this.errorValue = e, this.highStart = t, this.highValueIndex = r, this.index = n, this.data = o;
      }
      return A.prototype.get = function (A) {
        var e;
        if (A >= 0) {
          if (A < 55296 || A > 56319 && A <= 65535) return e = ((e = this.index[A >> 5]) << 2) + (31 & A), this.data[e];
          if (A <= 65535) return e = ((e = this.index[2048 + (A - 55296 >> 5)]) << 2) + (31 & A), this.data[e];
          if (A < this.highStart) return e = 2080 + (A >> 11), e = this.index[e], e += A >> 5 & 63, e = ((e = this.index[e]) << 2) + (31 & A), this.data[e];
          if (A <= 1114111) return this.data[this.highValueIndex];
        }
        return this.errorValue;
      }, A;
    }(), Sn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ln = "undefined" == typeof Uint8Array ? [] : new Uint8Array(256), Dn = 0; Dn < Sn.length; Dn++) Ln[Sn.charCodeAt(Dn)] = Dn;
  var xn,
    Tn = 8,
    Mn = 9,
    On = 11,
    Gn = 12,
    Pn = function Pn() {
      for (var A = [], e = 0; e < arguments.length; e++) A[e] = arguments[e];
      if (String.fromCodePoint) return String.fromCodePoint.apply(String, A);
      var t = A.length;
      if (!t) return "";
      for (var r = [], n = -1, o = ""; ++n < t;) {
        var s = A[n];
        s <= 65535 ? r.push(s) : (s -= 65536, r.push(55296 + (s >> 10), s % 1024 + 56320)), (n + 1 === t || r.length > 16384) && (o += String.fromCharCode.apply(String, r), r.length = 0);
      }
      return o;
    },
    kn = function (A, e) {
      var t,
        r,
        n,
        o = function (A) {
          var e,
            t,
            r,
            n,
            o,
            s = .75 * A.length,
            i = A.length,
            B = 0;
          "=" === A[A.length - 1] && (s--, "=" === A[A.length - 2] && s--);
          var a = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array && void 0 !== Uint8Array.prototype.slice ? new ArrayBuffer(s) : new Array(s),
            c = Array.isArray(a) ? a : new Uint8Array(a);
          for (e = 0; e < i; e += 4) t = yn[A.charCodeAt(e)], r = yn[A.charCodeAt(e + 1)], n = yn[A.charCodeAt(e + 2)], o = yn[A.charCodeAt(e + 3)], c[B++] = t << 2 | r >> 4, c[B++] = (15 & r) << 4 | n >> 2, c[B++] = (3 & n) << 6 | 63 & o;
          return a;
        }(A),
        s = Array.isArray(o) ? function (A) {
          for (var e = A.length, t = [], r = 0; r < e; r += 4) t.push(A[r + 3] << 24 | A[r + 2] << 16 | A[r + 1] << 8 | A[r]);
          return t;
        }(o) : new Uint32Array(o),
        i = Array.isArray(o) ? function (A) {
          for (var e = A.length, t = [], r = 0; r < e; r += 2) t.push(A[r + 1] << 8 | A[r]);
          return t;
        }(o) : new Uint16Array(o),
        B = bn(i, 12, s[4] / 2),
        a = 2 === s[5] ? bn(i, (24 + s[4]) / 2) : (t = s, r = Math.ceil((24 + s[4]) / 4), t.slice ? t.slice(r, n) : new Uint32Array(Array.prototype.slice.call(t, r, n)));
      return new vn(s[0], s[1], s[2], s[3], B, a);
    }("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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U3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQAS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QGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBY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OAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),
    Rn = "×",
    Vn = function Vn(A) {
      return kn.get(A);
    },
    Xn = function Xn(A, e, t) {
      var r = t - 2,
        n = e[r],
        o = e[t - 1],
        s = e[t];
      if (2 === o && 3 === s) return Rn;
      if (2 === o || 3 === o || 4 === o) return "÷";
      if (2 === s || 3 === s || 4 === s) return "÷";
      if (o === Tn && -1 !== [Tn, Mn, On, Gn].indexOf(s)) return Rn;
      if (!(o !== On && o !== Mn || s !== Mn && 10 !== s)) return Rn;
      if ((o === Gn || 10 === o) && 10 === s) return Rn;
      if (13 === s || 5 === s) return Rn;
      if (7 === s) return Rn;
      if (1 === o) return Rn;
      if (13 === o && 14 === s) {
        for (; 5 === n;) n = e[--r];
        if (14 === n) return Rn;
      }
      if (15 === o && 15 === s) {
        for (var i = 0; 15 === n;) i++, n = e[--r];
        if (i % 2 == 0) return Rn;
      }
      return "÷";
    },
    Nn = function Nn(A) {
      var e = function (A) {
          for (var e = [], t = 0, r = A.length; t < r;) {
            var n = A.charCodeAt(t++);
            if (n >= 55296 && n <= 56319 && t < r) {
              var o = A.charCodeAt(t++);
              56320 == (64512 & o) ? e.push(((1023 & n) << 10) + (1023 & o) + 65536) : (e.push(n), t--);
            } else e.push(n);
          }
          return e;
        }(A),
        t = e.length,
        r = 0,
        n = 0,
        o = e.map(Vn);
      return {
        next: function next() {
          if (r >= t) return {
            done: !0,
            value: null
          };
          for (var A = Rn; r < t && (A = Xn(0, o, ++r)) === Rn;);
          if (A !== Rn || r === t) {
            var s = Pn.apply(null, e.slice(n, r));
            return n = r, {
              value: s,
              done: !1
            };
          }
          return {
            done: !0,
            value: null
          };
        }
      };
    },
    Jn = function Jn(A) {
      return 0 === A[0] && 255 === A[1] && 0 === A[2] && 255 === A[3];
    },
    Yn = function Yn(A, e, t, r, n) {
      var o = "http://www.w3.org/2000/svg",
        s = document.createElementNS(o, "svg"),
        i = document.createElementNS(o, "foreignObject");
      return s.setAttributeNS(null, "width", A.toString()), s.setAttributeNS(null, "height", e.toString()), i.setAttributeNS(null, "width", "100%"), i.setAttributeNS(null, "height", "100%"), i.setAttributeNS(null, "x", t.toString()), i.setAttributeNS(null, "y", r.toString()), i.setAttributeNS(null, "externalResourcesRequired", "true"), s.appendChild(i), i.appendChild(n), s;
    },
    Wn = function Wn(A) {
      return new Promise(function (e, t) {
        var r = new Image();
        r.onload = function () {
          return e(r);
        }, r.onerror = t, r.src = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(new XMLSerializer().serializeToString(A));
      });
    },
    Zn = {
      get SUPPORT_RANGE_BOUNDS() {
        var A = function (A) {
          if (A.createRange) {
            var e = A.createRange();
            if (e.getBoundingClientRect) {
              var t = A.createElement("boundtest");
              t.style.height = "123px", t.style.display = "block", A.body.appendChild(t), e.selectNode(t);
              var r = e.getBoundingClientRect(),
                n = Math.round(r.height);
              if (A.body.removeChild(t), 123 === n) return !0;
            }
          }
          return !1;
        }(document);
        return Object.defineProperty(Zn, "SUPPORT_RANGE_BOUNDS", {
          value: A
        }), A;
      },
      get SUPPORT_WORD_BREAKING() {
        var A = Zn.SUPPORT_RANGE_BOUNDS && function (A) {
          var e = A.createElement("boundtest");
          e.style.width = "50px", e.style.display = "block", e.style.fontSize = "12px", e.style.letterSpacing = "0px", e.style.wordSpacing = "0px", A.body.appendChild(e);
          var t = A.createRange();
          e.innerHTML = "function" == typeof "".repeat ? "&#128104;".repeat(10) : "";
          var r = e.firstChild,
            n = iA(r.data).map(function (A) {
              return BA(A);
            }),
            o = 0,
            s = {},
            i = n.every(function (A, e) {
              t.setStart(r, o), t.setEnd(r, o + A.length);
              var n = t.getBoundingClientRect();
              o += A.length;
              var i = n.x > s.x || n.y > s.y;
              return s = n, 0 === e || i;
            });
          return A.body.removeChild(e), i;
        }(document);
        return Object.defineProperty(Zn, "SUPPORT_WORD_BREAKING", {
          value: A
        }), A;
      },
      get SUPPORT_SVG_DRAWING() {
        var A = function (A) {
          var e = new Image(),
            t = A.createElement("canvas"),
            r = t.getContext("2d");
          if (!r) return !1;
          e.src = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";
          try {
            r.drawImage(e, 0, 0), t.toDataURL();
          } catch (A) {
            return !1;
          }
          return !0;
        }(document);
        return Object.defineProperty(Zn, "SUPPORT_SVG_DRAWING", {
          value: A
        }), A;
      },
      get SUPPORT_FOREIGNOBJECT_DRAWING() {
        var A = "function" == typeof Array.from && "function" == typeof window.fetch ? function (A) {
          var e = A.createElement("canvas"),
            t = 100;
          e.width = t, e.height = t;
          var r = e.getContext("2d");
          if (!r) return Promise.reject(!1);
          r.fillStyle = "rgb(0, 255, 0)", r.fillRect(0, 0, t, t);
          var n = new Image(),
            o = e.toDataURL();
          n.src = o;
          var s = Yn(t, t, 0, 0, n);
          return r.fillStyle = "red", r.fillRect(0, 0, t, t), Wn(s).then(function (e) {
            r.drawImage(e, 0, 0);
            var n = r.getImageData(0, 0, t, t).data;
            r.fillStyle = "red", r.fillRect(0, 0, t, t);
            var s = A.createElement("div");
            return s.style.backgroundImage = "url(" + o + ")", s.style.height = t + "px", Jn(n) ? Wn(Yn(t, t, 0, 0, s)) : Promise.reject(!1);
          }).then(function (A) {
            return r.drawImage(A, 0, 0), Jn(r.getImageData(0, 0, t, t).data);
          }).catch(function () {
            return !1;
          });
        }(document) : Promise.resolve(!1);
        return Object.defineProperty(Zn, "SUPPORT_FOREIGNOBJECT_DRAWING", {
          value: A
        }), A;
      },
      get SUPPORT_CORS_IMAGES() {
        var A = void 0 !== new Image().crossOrigin;
        return Object.defineProperty(Zn, "SUPPORT_CORS_IMAGES", {
          value: A
        }), A;
      },
      get SUPPORT_RESPONSE_TYPE() {
        var A = "string" == typeof new XMLHttpRequest().responseType;
        return Object.defineProperty(Zn, "SUPPORT_RESPONSE_TYPE", {
          value: A
        }), A;
      },
      get SUPPORT_CORS_XHR() {
        var A = "withCredentials" in new XMLHttpRequest();
        return Object.defineProperty(Zn, "SUPPORT_CORS_XHR", {
          value: A
        }), A;
      },
      get SUPPORT_NATIVE_TEXT_SEGMENTATION() {
        var A = !("undefined" == typeof Intl || !Intl.Segmenter);
        return Object.defineProperty(Zn, "SUPPORT_NATIVE_TEXT_SEGMENTATION", {
          value: A
        }), A;
      }
    },
    zn = function zn(A, e) {
      this.text = A, this.bounds = e;
    },
    qn = function qn(A, e) {
      var t = e.ownerDocument;
      if (t) {
        var r = t.createElement("html2canvaswrapper");
        r.appendChild(e.cloneNode(!0));
        var n = e.parentNode;
        if (n) {
          n.replaceChild(r, e);
          var o = sA(A, r);
          return r.firstChild && n.replaceChild(r.firstChild, r), o;
        }
      }
      return oA.EMPTY;
    },
    jn = function jn(A, e, t) {
      var r = A.ownerDocument;
      if (!r) throw new Error("Node has no owner document");
      var n = r.createRange();
      return n.setStart(A, e), n.setEnd(A, e + t), n;
    },
    _n = function _n(A) {
      if (Zn.SUPPORT_NATIVE_TEXT_SEGMENTATION) {
        var e = new Intl.Segmenter(void 0, {
          granularity: "grapheme"
        });
        return Array.from(e.segment(A)).map(function (A) {
          return A.segment;
        });
      }
      return function (A) {
        for (var e, t = Nn(A), r = []; !(e = t.next()).done;) e.value && r.push(e.value.slice());
        return r;
      }(A);
    },
    $n = function $n(A, e) {
      return 0 !== e.letterSpacing ? _n(A) : function (A, e) {
        if (Zn.SUPPORT_NATIVE_TEXT_SEGMENTATION) {
          var t = new Intl.Segmenter(void 0, {
            granularity: "word"
          });
          return Array.from(t.segment(A)).map(function (A) {
            return A.segment;
          });
        }
        return eo(A, e);
      }(A, e);
    },
    Ao = [32, 160, 4961, 65792, 65793, 4153, 4241],
    eo = function eo(A, e) {
      for (var t, r = function (A, e) {
          var t = iA(A),
            r = ne(t, e),
            n = r[0],
            o = r[1],
            s = r[2],
            i = t.length,
            B = 0,
            a = 0;
          return {
            next: function next() {
              if (a >= i) return {
                done: !0,
                value: null
              };
              for (var A = JA; a < i && (A = re(t, o, n, ++a, s)) === JA;);
              if (A !== JA || a === i) {
                var e = new oe(t, A, B, a);
                return B = a, {
                  value: e,
                  done: !1
                };
              }
              return {
                done: !0,
                value: null
              };
            }
          };
        }(A, {
          lineBreak: e.lineBreak,
          wordBreak: "break-word" === e.overflowWrap ? "break-word" : e.wordBreak
        }), n = [], o = function o() {
          if (t.value) {
            var A = t.value.slice(),
              e = iA(A),
              r = "";
            e.forEach(function (A) {
              -1 === Ao.indexOf(A) ? r += BA(A) : (r.length && n.push(r), n.push(BA(A)), r = "");
            }), r.length && n.push(r);
          }
        }; !(t = r.next()).done;) o();
      return n;
    },
    to = function to(A, e, t) {
      this.text = ro(e.data, t.textTransform), this.textBounds = function (A, e, t, r) {
        var n = $n(e, t),
          o = [],
          s = 0;
        return n.forEach(function (e) {
          if (t.textDecorationLine.length || e.trim().length > 0) {
            if (Zn.SUPPORT_RANGE_BOUNDS) {
              var n = jn(r, s, e.length).getClientRects();
              if (n.length > 1) {
                var i = _n(e),
                  B = 0;
                i.forEach(function (e) {
                  o.push(new zn(e, oA.fromDOMRectList(A, jn(r, B + s, e.length).getClientRects()))), B += e.length;
                });
              } else o.push(new zn(e, oA.fromDOMRectList(A, n)));
            } else {
              var a = r.splitText(e.length);
              o.push(new zn(e, qn(A, r))), r = a;
            }
          } else Zn.SUPPORT_RANGE_BOUNDS || (r = r.splitText(e.length));
          s += e.length;
        }), o;
      }(A, this.text, t, e);
    },
    ro = function ro(A, e) {
      switch (e) {
        case 1:
          return A.toLowerCase();
        case 3:
          return A.replace(no, oo);
        case 2:
          return A.toUpperCase();
        default:
          return A;
      }
    },
    no = /(^|\s|:|-|\(|\))([a-z])/g,
    oo = function oo(A, e, t) {
      return A.length > 0 ? e + t.toUpperCase() : A;
    },
    so = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        return r.src = t.currentSrc || t.src, r.intrinsicWidth = t.naturalWidth, r.intrinsicHeight = t.naturalHeight, r.context.cache.addImage(r.src), r;
      }
      return AA(e, A), e;
    }(In),
    io = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        return r.canvas = t, r.intrinsicWidth = t.width, r.intrinsicHeight = t.height, r;
      }
      return AA(e, A), e;
    }(In),
    Bo = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this,
          n = new XMLSerializer(),
          o = sA(e, t);
        return t.setAttribute("width", o.width + "px"), t.setAttribute("height", o.height + "px"), r.svg = "data:image/svg+xml," + encodeURIComponent(n.serializeToString(t)), r.intrinsicWidth = t.width.baseVal.value, r.intrinsicHeight = t.height.baseVal.value, r.context.cache.addImage(r.svg), r;
      }
      return AA(e, A), e;
    }(In),
    ao = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        return r.value = t.value, r;
      }
      return AA(e, A), e;
    }(In),
    co = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        return r.start = t.start, r.reversed = "boolean" == typeof t.reversed && !0 === t.reversed, r;
      }
      return AA(e, A), e;
    }(In),
    lo = [{
      type: 15,
      flags: 0,
      unit: "px",
      number: 3
    }],
    go = [{
      type: 16,
      flags: 0,
      number: 50
    }],
    uo = "checkbox",
    wo = "radio",
    Qo = "password",
    ho = 707406591,
    Co = function (A) {
      function e(e, t) {
        var r,
          n,
          o,
          s = A.call(this, e, t) || this;
        switch (s.type = t.type.toLowerCase(), s.checked = t.checked, s.value = 0 === (n = (r = t).type === Qo ? new Array(r.value.length + 1).join("•") : r.value).length ? r.placeholder || "" : n, s.type !== uo && s.type !== wo || (s.styles.backgroundColor = 3739148031, s.styles.borderTopColor = s.styles.borderRightColor = s.styles.borderBottomColor = s.styles.borderLeftColor = 2779096575, s.styles.borderTopWidth = s.styles.borderRightWidth = s.styles.borderBottomWidth = s.styles.borderLeftWidth = 1, s.styles.borderTopStyle = s.styles.borderRightStyle = s.styles.borderBottomStyle = s.styles.borderLeftStyle = 1, s.styles.backgroundClip = [0], s.styles.backgroundOrigin = [0], s.bounds = (o = s.bounds).width > o.height ? new oA(o.left + (o.width - o.height) / 2, o.top, o.height, o.height) : o.width < o.height ? new oA(o.left, o.top + (o.height - o.width) / 2, o.width, o.width) : o), s.type) {
          case uo:
            s.styles.borderTopRightRadius = s.styles.borderTopLeftRadius = s.styles.borderBottomRightRadius = s.styles.borderBottomLeftRadius = lo;
            break;
          case wo:
            s.styles.borderTopRightRadius = s.styles.borderTopLeftRadius = s.styles.borderBottomRightRadius = s.styles.borderBottomLeftRadius = go;
        }
        return s;
      }
      return AA(e, A), e;
    }(In),
    Uo = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this,
          n = t.options[t.selectedIndex || 0];
        return r.value = n && n.text || "", r;
      }
      return AA(e, A), e;
    }(In),
    Fo = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        return r.value = t.value, r;
      }
      return AA(e, A), e;
    }(In),
    po = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        r.src = t.src, r.width = parseInt(t.width, 10) || 0, r.height = parseInt(t.height, 10) || 0, r.backgroundColor = r.styles.backgroundColor;
        try {
          if (t.contentWindow && t.contentWindow.document && t.contentWindow.document.documentElement) {
            r.tree = Io(e, t.contentWindow.document.documentElement);
            var n = t.contentWindow.document.documentElement ? Ft(e, getComputedStyle(t.contentWindow.document.documentElement).backgroundColor) : pt.TRANSPARENT,
              o = t.contentWindow.document.body ? Ft(e, getComputedStyle(t.contentWindow.document.body).backgroundColor) : pt.TRANSPARENT;
            r.backgroundColor = gt(n) ? gt(o) ? r.styles.backgroundColor : o : n;
          }
        } catch (A) {}
        return r;
      }
      return AA(e, A), e;
    }(In),
    fo = ["OL", "UL", "MENU"],
    _Ho = function Ho(A, e, t, r) {
      for (var n = e.firstChild, o = void 0; n; n = o) if (o = n.nextSibling, Ko(n) && n.data.trim().length > 0) t.textNodes.push(new to(A, n, t.styles));else if (bo(n)) if (No(n) && n.assignedNodes) n.assignedNodes().forEach(function (e) {
        return _Ho(A, e, t, r);
      });else {
        var s = Eo(A, n);
        s.styles.isVisible() && (mo(n, s, r) ? s.flags |= 4 : yo(s.styles) && (s.flags |= 2), -1 !== fo.indexOf(n.tagName) && (s.flags |= 8), t.elements.push(s), n.slot, n.shadowRoot ? _Ho(A, n.shadowRoot, s, r) : Vo(n) || To(n) || Xo(n) || _Ho(A, n, s, r));
      }
    },
    Eo = function Eo(A, e) {
      return Po(e) ? new so(A, e) : Oo(e) ? new io(A, e) : To(e) ? new Bo(A, e) : Lo(e) ? new ao(A, e) : Do(e) ? new co(A, e) : xo(e) ? new Co(A, e) : Xo(e) ? new Uo(A, e) : Vo(e) ? new Fo(A, e) : ko(e) ? new po(A, e) : new In(A, e);
    },
    Io = function Io(A, e) {
      var t = Eo(A, e);
      return t.flags |= 4, _Ho(A, e, t, t), t;
    },
    mo = function mo(A, e, t) {
      return e.styles.isPositionedWithZIndex() || e.styles.opacity < 1 || e.styles.isTransformed() || Mo(A) && t.styles.isTransparent();
    },
    yo = function yo(A) {
      return A.isPositioned() || A.isFloating();
    },
    Ko = function Ko(A) {
      return A.nodeType === Node.TEXT_NODE;
    },
    bo = function bo(A) {
      return A.nodeType === Node.ELEMENT_NODE;
    },
    vo = function vo(A) {
      return bo(A) && void 0 !== A.style && !So(A);
    },
    So = function So(A) {
      return "object" == _typeof(A.className);
    },
    Lo = function Lo(A) {
      return "LI" === A.tagName;
    },
    Do = function Do(A) {
      return "OL" === A.tagName;
    },
    xo = function xo(A) {
      return "INPUT" === A.tagName;
    },
    To = function To(A) {
      return "svg" === A.tagName;
    },
    Mo = function Mo(A) {
      return "BODY" === A.tagName;
    },
    Oo = function Oo(A) {
      return "CANVAS" === A.tagName;
    },
    Go = function Go(A) {
      return "VIDEO" === A.tagName;
    },
    Po = function Po(A) {
      return "IMG" === A.tagName;
    },
    ko = function ko(A) {
      return "IFRAME" === A.tagName;
    },
    Ro = function Ro(A) {
      return "STYLE" === A.tagName;
    },
    Vo = function Vo(A) {
      return "TEXTAREA" === A.tagName;
    },
    Xo = function Xo(A) {
      return "SELECT" === A.tagName;
    },
    No = function No(A) {
      return "SLOT" === A.tagName;
    },
    Jo = function Jo(A) {
      return A.tagName.indexOf("-") > 0;
    },
    Yo = function () {
      function A() {
        this.counters = {};
      }
      return A.prototype.getCounterValue = function (A) {
        var e = this.counters[A];
        return e && e.length ? e[e.length - 1] : 1;
      }, A.prototype.getCounterValues = function (A) {
        var e = this.counters[A];
        return e || [];
      }, A.prototype.pop = function (A) {
        var e = this;
        A.forEach(function (A) {
          return e.counters[A].pop();
        });
      }, A.prototype.parse = function (A) {
        var e = this,
          t = A.counterIncrement,
          r = A.counterReset,
          n = !0;
        null !== t && t.forEach(function (A) {
          var t = e.counters[A.counter];
          t && 0 !== A.increment && (n = !1, t.length || t.push(1), t[Math.max(0, t.length - 1)] += A.increment);
        });
        var o = [];
        return n && r.forEach(function (A) {
          var t = e.counters[A.counter];
          o.push(A.counter), t || (t = e.counters[A.counter] = []), t.push(A.reset);
        }), o;
      }, A;
    }(),
    Wo = {
      integers: [1e3, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1],
      values: ["M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I"]
    },
    Zo = {
      integers: [9e3, 8e3, 7e3, 6e3, 5e3, 4e3, 3e3, 2e3, 1e3, 900, 800, 700, 600, 500, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],
      values: ["Ք", "Փ", "Ւ", "Ց", "Ր", "Տ", "Վ", "Ս", "Ռ", "Ջ", "Պ", "Չ", "Ո", "Շ", "Ն", "Յ", "Մ", "Ճ", "Ղ", "Ձ", "Հ", "Կ", "Ծ", "Խ", "Լ", "Ի", "Ժ", "Թ", "Ը", "Է", "Զ", "Ե", "Դ", "Գ", "Բ", "Ա"]
    },
    zo = {
      integers: [1e4, 9e3, 8e3, 7e3, 6e3, 5e3, 4e3, 3e3, 2e3, 1e3, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 19, 18, 17, 16, 15, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],
      values: ["י׳", "ט׳", "ח׳", "ז׳", "ו׳", "ה׳", "ד׳", "ג׳", "ב׳", "א׳", "ת", "ש", "ר", "ק", "צ", "פ", "ע", "ס", "נ", "מ", "ל", "כ", "יט", "יח", "יז", "טז", "טו", "י", "ט", "ח", "ז", "ו", "ה", "ד", "ג", "ב", "א"]
    },
    qo = {
      integers: [1e4, 9e3, 8e3, 7e3, 6e3, 5e3, 4e3, 3e3, 2e3, 1e3, 900, 800, 700, 600, 500, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],
      values: ["ჵ", "ჰ", "ჯ", "ჴ", "ხ", "ჭ", "წ", "ძ", "ც", "ჩ", "შ", "ყ", "ღ", "ქ", "ფ", "ჳ", "ტ", "ს", "რ", "ჟ", "პ", "ო", "ჲ", "ნ", "მ", "ლ", "კ", "ი", "თ", "ჱ", "ზ", "ვ", "ე", "დ", "გ", "ბ", "ა"]
    },
    jo = function jo(A, e, t, r, n, o) {
      return A < e || A > t ? ss(A, n, o.length > 0) : r.integers.reduce(function (e, t, n) {
        for (; A >= t;) A -= t, e += r.values[n];
        return e;
      }, "") + o;
    },
    _o = function _o(A, e, t, r) {
      var n = "";
      do {
        t || A--, n = r(A) + n, A /= e;
      } while (A * e >= e);
      return n;
    },
    $o = function $o(A, e, t, r, n) {
      var o = t - e + 1;
      return (A < 0 ? "-" : "") + (_o(Math.abs(A), o, r, function (A) {
        return BA(Math.floor(A % o) + e);
      }) + n);
    },
    As = function As(A, e, t) {
      void 0 === t && (t = ". ");
      var r = e.length;
      return _o(Math.abs(A), r, !1, function (A) {
        return e[Math.floor(A % r)];
      }) + t;
    },
    es = function es(A, e, t, r, n, o) {
      if (A < -9999 || A > 9999) return ss(A, 4, n.length > 0);
      var s = Math.abs(A),
        i = n;
      if (0 === s) return e[0] + i;
      for (var B = 0; s > 0 && B <= 4; B++) {
        var a = s % 10;
        0 === a && an(o, 1) && "" !== i ? i = e[a] + i : a > 1 || 1 === a && 0 === B || 1 === a && 1 === B && an(o, 2) || 1 === a && 1 === B && an(o, 4) && A > 100 || 1 === a && B > 1 && an(o, 8) ? i = e[a] + (B > 0 ? t[B - 1] : "") + i : 1 === a && B > 0 && (i = t[B - 1] + i), s = Math.floor(s / 10);
      }
      return (A < 0 ? r : "") + i;
    },
    ts = "十百千萬",
    rs = "拾佰仟萬",
    ns = "マイナス",
    os = "마이너스",
    ss = function ss(A, e, t) {
      var r = t ? ". " : "",
        n = t ? "、" : "",
        o = t ? ", " : "",
        s = t ? " " : "";
      switch (e) {
        case 0:
          return "•" + s;
        case 1:
          return "◦" + s;
        case 2:
          return "◾" + s;
        case 5:
          var i = $o(A, 48, 57, !0, r);
          return i.length < 4 ? "0" + i : i;
        case 4:
          return As(A, "〇一二三四五六七八九", n);
        case 6:
          return jo(A, 1, 3999, Wo, 3, r).toLowerCase();
        case 7:
          return jo(A, 1, 3999, Wo, 3, r);
        case 8:
          return $o(A, 945, 969, !1, r);
        case 9:
          return $o(A, 97, 122, !1, r);
        case 10:
          return $o(A, 65, 90, !1, r);
        case 11:
          return $o(A, 1632, 1641, !0, r);
        case 12:
        case 49:
          return jo(A, 1, 9999, Zo, 3, r);
        case 35:
          return jo(A, 1, 9999, Zo, 3, r).toLowerCase();
        case 13:
          return $o(A, 2534, 2543, !0, r);
        case 14:
        case 30:
          return $o(A, 6112, 6121, !0, r);
        case 15:
          return As(A, "子丑寅卯辰巳午未申酉戌亥", n);
        case 16:
          return As(A, "甲乙丙丁戊己庚辛壬癸", n);
        case 17:
        case 48:
          return es(A, "零一二三四五六七八九", ts, "負", n, 14);
        case 47:
          return es(A, "零壹貳參肆伍陸柒捌玖", rs, "負", n, 15);
        case 42:
          return es(A, "零一二三四五六七八九", ts, "负", n, 14);
        case 41:
          return es(A, "零壹贰叁肆伍陆柒捌玖", rs, "负", n, 15);
        case 26:
          return es(A, "〇一二三四五六七八九", "十百千万", ns, n, 0);
        case 25:
          return es(A, "零壱弐参四伍六七八九", "拾百千万", ns, n, 7);
        case 31:
          return es(A, "영일이삼사오육칠팔구", "십백천만", os, o, 7);
        case 33:
          return es(A, "零一二三四五六七八九", "十百千萬", os, o, 0);
        case 32:
          return es(A, "零壹貳參四五六七八九", "拾百千", os, o, 7);
        case 18:
          return $o(A, 2406, 2415, !0, r);
        case 20:
          return jo(A, 1, 19999, qo, 3, r);
        case 21:
          return $o(A, 2790, 2799, !0, r);
        case 22:
          return $o(A, 2662, 2671, !0, r);
        case 22:
          return jo(A, 1, 10999, zo, 3, r);
        case 23:
          return As(A, "あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");
        case 24:
          return As(A, "いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");
        case 27:
          return $o(A, 3302, 3311, !0, r);
        case 28:
          return As(A, "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン", n);
        case 29:
          return As(A, "イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス", n);
        case 34:
          return $o(A, 3792, 3801, !0, r);
        case 37:
          return $o(A, 6160, 6169, !0, r);
        case 38:
          return $o(A, 4160, 4169, !0, r);
        case 39:
          return $o(A, 2918, 2927, !0, r);
        case 40:
          return $o(A, 1776, 1785, !0, r);
        case 43:
          return $o(A, 3046, 3055, !0, r);
        case 44:
          return $o(A, 3174, 3183, !0, r);
        case 45:
          return $o(A, 3664, 3673, !0, r);
        case 46:
          return $o(A, 3872, 3881, !0, r);
        default:
          return $o(A, 48, 57, !0, r);
      }
    },
    is = "data-html2canvas-ignore",
    Bs = function () {
      function A(A, e, t) {
        if (this.context = A, this.options = t, this.scrolledElements = [], this.referenceElement = e, this.counters = new Yo(), this.quoteDepth = 0, !e.ownerDocument) throw new Error("Cloned element does not have an owner document");
        this.documentElement = this.cloneNode(e.ownerDocument.documentElement, !1);
      }
      return A.prototype.toIFrame = function (A, e) {
        var t = this,
          r = cs(A, e);
        if (!r.contentWindow) return Promise.reject("Unable to find iframe window");
        var n = A.defaultView.pageXOffset,
          o = A.defaultView.pageYOffset,
          s = r.contentWindow,
          i = s.document,
          B = us(r).then(function () {
            return tA(t, void 0, void 0, function () {
              var A, t;
              return rA(this, function (n) {
                switch (n.label) {
                  case 0:
                    return this.scrolledElements.forEach(Us), s && (s.scrollTo(e.left, e.top), !/(iPad|iPhone|iPod)/g.test(navigator.userAgent) || s.scrollY === e.top && s.scrollX === e.left || (this.context.logger.warn("Unable to restore scroll position for cloned document"), this.context.windowBounds = this.context.windowBounds.add(s.scrollX - e.left, s.scrollY - e.top, 0, 0))), A = this.options.onclone, void 0 === (t = this.clonedReferenceElement) ? [2, Promise.reject("Error finding the " + this.referenceElement.nodeName + " in the cloned document")] : i.fonts && i.fonts.ready ? [4, i.fonts.ready] : [3, 2];
                  case 1:
                    n.sent(), n.label = 2;
                  case 2:
                    return /(AppleWebKit)/g.test(navigator.userAgent) ? [4, gs(i)] : [3, 4];
                  case 3:
                    n.sent(), n.label = 4;
                  case 4:
                    return "function" == typeof A ? [2, Promise.resolve().then(function () {
                      return A(i, t);
                    }).then(function () {
                      return r;
                    })] : [2, r];
                }
              });
            });
          });
        return i.open(), i.write(hs(document.doctype) + "<html></html>"), Cs(this.referenceElement.ownerDocument, n, o), i.replaceChild(i.adoptNode(this.documentElement), i.documentElement), i.close(), B;
      }, A.prototype.createElementClone = function (A) {
        if (En(A, 2), Oo(A)) return this.createCanvasClone(A);
        if (Go(A)) return this.createVideoClone(A);
        if (Ro(A)) return this.createStyleClone(A);
        var e = A.cloneNode(!1);
        return Po(e) && (Po(A) && A.currentSrc && A.currentSrc !== A.src && (e.src = A.currentSrc, e.srcset = ""), "lazy" === e.loading && (e.loading = "eager")), Jo(e) ? this.createCustomElementClone(e) : e;
      }, A.prototype.createCustomElementClone = function (A) {
        var e = document.createElement("html2canvascustomelement");
        return Qs(A.style, e), e;
      }, A.prototype.createStyleClone = function (A) {
        try {
          var e = A.sheet;
          if (e && e.cssRules) {
            var t = [].slice.call(e.cssRules, 0).reduce(function (A, e) {
                return e && "string" == typeof e.cssText ? A + e.cssText : A;
              }, ""),
              r = A.cloneNode(!1);
            return r.textContent = t, r;
          }
        } catch (A) {
          if (this.context.logger.error("Unable to access cssRules property", A), "SecurityError" !== A.name) throw A;
        }
        return A.cloneNode(!1);
      }, A.prototype.createCanvasClone = function (A) {
        var e;
        if (this.options.inlineImages && A.ownerDocument) {
          var t = A.ownerDocument.createElement("img");
          try {
            return t.src = A.toDataURL(), t;
          } catch (e) {
            this.context.logger.info("Unable to inline canvas contents, canvas is tainted", A);
          }
        }
        var r = A.cloneNode(!1);
        try {
          r.width = A.width, r.height = A.height;
          var n = A.getContext("2d"),
            o = r.getContext("2d");
          if (o) if (!this.options.allowTaint && n) o.putImageData(n.getImageData(0, 0, A.width, A.height), 0, 0);else {
            var s = null !== (e = A.getContext("webgl2")) && void 0 !== e ? e : A.getContext("webgl");
            if (s) {
              var i = s.getContextAttributes();
              !1 === (null == i ? void 0 : i.preserveDrawingBuffer) && this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false", A);
            }
            o.drawImage(A, 0, 0);
          }
          return r;
        } catch (e) {
          this.context.logger.info("Unable to clone canvas as it is tainted", A);
        }
        return r;
      }, A.prototype.createVideoClone = function (A) {
        var e = A.ownerDocument.createElement("canvas");
        e.width = A.offsetWidth, e.height = A.offsetHeight;
        var t = e.getContext("2d");
        try {
          return t && (t.drawImage(A, 0, 0, e.width, e.height), this.options.allowTaint || t.getImageData(0, 0, e.width, e.height)), e;
        } catch (e) {
          this.context.logger.info("Unable to clone video as it is tainted", A);
        }
        var r = A.ownerDocument.createElement("canvas");
        return r.width = A.offsetWidth, r.height = A.offsetHeight, r;
      }, A.prototype.appendChildNode = function (A, e, t) {
        bo(e) && ("SCRIPT" === e.tagName || e.hasAttribute(is) || "function" == typeof this.options.ignoreElements && this.options.ignoreElements(e)) || this.options.copyStyles && bo(e) && Ro(e) || A.appendChild(this.cloneNode(e, t));
      }, A.prototype.cloneChildNodes = function (A, e, t) {
        for (var r = this, n = A.shadowRoot ? A.shadowRoot.firstChild : A.firstChild; n; n = n.nextSibling) if (bo(n) && No(n) && "function" == typeof n.assignedNodes) {
          var o = n.assignedNodes();
          o.length && o.forEach(function (A) {
            return r.appendChildNode(e, A, t);
          });
        } else this.appendChildNode(e, n, t);
      }, A.prototype.cloneNode = function (A, e) {
        if (Ko(A)) return document.createTextNode(A.data);
        if (!A.ownerDocument) return A.cloneNode(!1);
        var t = A.ownerDocument.defaultView;
        if (t && bo(A) && (vo(A) || So(A))) {
          var r = this.createElementClone(A);
          r.style.transitionProperty = "none";
          var n = t.getComputedStyle(A),
            o = t.getComputedStyle(A, ":before"),
            s = t.getComputedStyle(A, ":after");
          this.referenceElement === A && vo(r) && (this.clonedReferenceElement = r), Mo(r) && fs(r);
          var i = this.counters.parse(new fn(this.context, n)),
            B = this.resolvePseudoContent(A, r, o, xn.BEFORE);
          Jo(A) && (e = !0), Go(A) || this.cloneChildNodes(A, r, e), B && r.insertBefore(B, r.firstChild);
          var a = this.resolvePseudoContent(A, r, s, xn.AFTER);
          return a && r.appendChild(a), this.counters.pop(i), (n && (this.options.copyStyles || So(A)) && !ko(A) || e) && Qs(n, r), 0 === A.scrollTop && 0 === A.scrollLeft || this.scrolledElements.push([r, A.scrollLeft, A.scrollTop]), (Vo(A) || Xo(A)) && (Vo(r) || Xo(r)) && (r.value = A.value), r;
        }
        return A.cloneNode(!1);
      }, A.prototype.resolvePseudoContent = function (A, e, t, r) {
        var n = this;
        if (t) {
          var o = t.content,
            s = e.ownerDocument;
          if (s && o && "none" !== o && "-moz-alt-content" !== o && "none" !== t.display) {
            this.counters.parse(new fn(this.context, t));
            var i = new pn(this.context, t),
              B = s.createElement("html2canvaspseudoelement");
            Qs(t, B), i.content.forEach(function (e) {
              if (0 === e.type) B.appendChild(s.createTextNode(e.value));else if (22 === e.type) {
                var t = s.createElement("img");
                t.src = e.value, t.style.opacity = "1", B.appendChild(t);
              } else if (18 === e.type) {
                if ("attr" === e.name) {
                  var r = e.values.filter(Ne);
                  r.length && B.appendChild(s.createTextNode(A.getAttribute(r[0].value) || ""));
                } else if ("counter" === e.name) {
                  var o = e.values.filter(Ze),
                    a = o[0],
                    c = o[1];
                  if (a && Ne(a)) {
                    var l = n.counters.getCounterValue(a.value),
                      g = c && Ne(c) ? Kr.parse(n.context, c.value) : 3;
                    B.appendChild(s.createTextNode(ss(l, g, !1)));
                  }
                } else if ("counters" === e.name) {
                  var u = e.values.filter(Ze),
                    w = (a = u[0], u[1]);
                  c = u[2];
                  if (a && Ne(a)) {
                    var Q = n.counters.getCounterValues(a.value),
                      h = c && Ne(c) ? Kr.parse(n.context, c.value) : 3,
                      C = w && 0 === w.type ? w.value : "",
                      U = Q.map(function (A) {
                        return ss(A, h, !1);
                      }).join(C);
                    B.appendChild(s.createTextNode(U));
                  }
                }
              } else if (20 === e.type) switch (e.value) {
                case "open-quote":
                  B.appendChild(s.createTextNode(Qn(i.quotes, n.quoteDepth++, !0)));
                  break;
                case "close-quote":
                  B.appendChild(s.createTextNode(Qn(i.quotes, --n.quoteDepth, !1)));
                  break;
                default:
                  B.appendChild(s.createTextNode(e.value));
              }
            }), B.className = ds + " " + Fs;
            var a = r === xn.BEFORE ? " " + ds : " " + Fs;
            return So(e) ? e.className.baseValue += a : e.className += a, B;
          }
        }
      }, A.destroy = function (A) {
        return !!A.parentNode && (A.parentNode.removeChild(A), !0);
      }, A;
    }();
  !function (A) {
    A[A.BEFORE = 0] = "BEFORE", A[A.AFTER = 1] = "AFTER";
  }(xn || (xn = {}));
  var as,
    cs = function cs(A, e) {
      var t = A.createElement("iframe");
      return t.className = "html2canvas-container", t.style.visibility = "hidden", t.style.position = "fixed", t.style.left = "-10000px", t.style.top = "0px", t.style.border = "0", t.width = e.width.toString(), t.height = e.height.toString(), t.scrolling = "no", t.setAttribute(is, "true"), A.body.appendChild(t), t;
    },
    ls = function ls(A) {
      return new Promise(function (e) {
        A.complete ? e() : A.src ? (A.onload = e, A.onerror = e) : e();
      });
    },
    gs = function gs(A) {
      return Promise.all([].slice.call(A.images, 0).map(ls));
    },
    us = function us(A) {
      return new Promise(function (e, t) {
        var r = A.contentWindow;
        if (!r) return t("No window assigned for iframe");
        var n = r.document;
        r.onload = A.onload = function () {
          r.onload = A.onload = null;
          var t = setInterval(function () {
            n.body.childNodes.length > 0 && "complete" === n.readyState && (clearInterval(t), e(A));
          }, 50);
        };
      });
    },
    ws = ["all", "d", "content"],
    Qs = function Qs(A, e) {
      for (var t = A.length - 1; t >= 0; t--) {
        var r = A.item(t);
        -1 === ws.indexOf(r) && e.style.setProperty(r, A.getPropertyValue(r));
      }
      return e;
    },
    hs = function hs(A) {
      var e = "";
      return A && (e += "<!DOCTYPE ", A.name && (e += A.name), A.internalSubset && (e += A.internalSubset), A.publicId && (e += '"' + A.publicId + '"'), A.systemId && (e += '"' + A.systemId + '"'), e += ">"), e;
    },
    Cs = function Cs(A, e, t) {
      A && A.defaultView && (e !== A.defaultView.pageXOffset || t !== A.defaultView.pageYOffset) && A.defaultView.scrollTo(e, t);
    },
    Us = function Us(A) {
      var e = A[0],
        t = A[1],
        r = A[2];
      e.scrollLeft = t, e.scrollTop = r;
    },
    ds = "___html2canvas___pseudoelement_before",
    Fs = "___html2canvas___pseudoelement_after",
    ps = '{\n    content: "" !important;\n    display: none !important;\n}',
    fs = function fs(A) {
      Hs(A, "." + ds + ":before" + ps + "\n         ." + Fs + ":after" + ps);
    },
    Hs = function Hs(A, e) {
      var t = A.ownerDocument;
      if (t) {
        var r = t.createElement("style");
        r.textContent = e, A.appendChild(r);
      }
    },
    Es = function () {
      function A() {}
      return A.getOrigin = function (e) {
        var t = A._link;
        return t ? (t.href = e, t.href = t.href, t.protocol + t.hostname + t.port) : "about:blank";
      }, A.isSameOrigin = function (e) {
        return A.getOrigin(e) === A._origin;
      }, A.setContext = function (e) {
        A._link = e.document.createElement("a"), A._origin = A.getOrigin(e.location.href);
      }, A._origin = "about:blank", A;
    }(),
    Is = function () {
      function A(A, e) {
        this.context = A, this._options = e, this._cache = {};
      }
      return A.prototype.addImage = function (A) {
        var e = Promise.resolve();
        return this.has(A) ? e : Ls(A) || bs(A) ? ((this._cache[A] = this.loadImage(A)).catch(function () {}), e) : e;
      }, A.prototype.match = function (A) {
        return this._cache[A];
      }, A.prototype.loadImage = function (A) {
        return tA(this, void 0, void 0, function () {
          var e,
            t,
            r,
            n,
            o = this;
          return rA(this, function (s) {
            switch (s.label) {
              case 0:
                return e = Es.isSameOrigin(A), t = !vs(A) && !0 === this._options.useCORS && Zn.SUPPORT_CORS_IMAGES && !e, r = !vs(A) && !e && !Ls(A) && "string" == typeof this._options.proxy && Zn.SUPPORT_CORS_XHR && !t, e || !1 !== this._options.allowTaint || vs(A) || Ls(A) || r || t ? (n = A, r ? [4, this.proxy(n)] : [3, 2]) : [2];
              case 1:
                n = s.sent(), s.label = 2;
              case 2:
                return this.context.logger.debug("Added image " + A.substring(0, 256)), [4, new Promise(function (A, e) {
                  var r = new Image();
                  r.onload = function () {
                    return A(r);
                  }, r.onerror = e, (Ss(n) || t) && (r.crossOrigin = "anonymous"), r.src = n, !0 === r.complete && setTimeout(function () {
                    return A(r);
                  }, 500), o._options.imageTimeout > 0 && setTimeout(function () {
                    return e("Timed out (" + o._options.imageTimeout + "ms) loading image");
                  }, o._options.imageTimeout);
                })];
              case 3:
                return [2, s.sent()];
            }
          });
        });
      }, A.prototype.has = function (A) {
        return void 0 !== this._cache[A];
      }, A.prototype.keys = function () {
        return Promise.resolve(Object.keys(this._cache));
      }, A.prototype.proxy = function (A) {
        var e = this,
          t = this._options.proxy;
        if (!t) throw new Error("No proxy defined");
        var r = A.substring(0, 256);
        return new Promise(function (n, o) {
          var s = Zn.SUPPORT_RESPONSE_TYPE ? "blob" : "text",
            i = new XMLHttpRequest();
          i.onload = function () {
            if (200 === i.status) {
              if ("text" === s) n(i.response);else {
                var A = new FileReader();
                A.addEventListener("load", function () {
                  return n(A.result);
                }, !1), A.addEventListener("error", function (A) {
                  return o(A);
                }, !1), A.readAsDataURL(i.response);
              }
            } else o("Failed to proxy resource " + r + " with status code " + i.status);
          }, i.onerror = o;
          var B = t.indexOf("?") > -1 ? "&" : "?";
          if (i.open("GET", "" + t + B + "url=" + encodeURIComponent(A) + "&responseType=" + s), "text" !== s && i instanceof XMLHttpRequest && (i.responseType = s), e._options.imageTimeout) {
            var a = e._options.imageTimeout;
            i.timeout = a, i.ontimeout = function () {
              return o("Timed out (" + a + "ms) proxying " + r);
            };
          }
          i.send();
        });
      }, A;
    }(),
    ms = /^data:image\/svg\+xml/i,
    ys = /^data:image\/.*;base64,/i,
    Ks = /^data:image\/.*/i,
    bs = function bs(A) {
      return Zn.SUPPORT_SVG_DRAWING || !Ds(A);
    },
    vs = function vs(A) {
      return Ks.test(A);
    },
    Ss = function Ss(A) {
      return ys.test(A);
    },
    Ls = function Ls(A) {
      return "blob" === A.substr(0, 4);
    },
    Ds = function Ds(A) {
      return "svg" === A.substr(-3).toLowerCase() || ms.test(A);
    },
    xs = function () {
      function A(A, e) {
        this.type = 0, this.x = A, this.y = e;
      }
      return A.prototype.add = function (e, t) {
        return new A(this.x + e, this.y + t);
      }, A;
    }(),
    Ts = function Ts(A, e, t) {
      return new xs(A.x + (e.x - A.x) * t, A.y + (e.y - A.y) * t);
    },
    Ms = function () {
      function A(A, e, t, r) {
        this.type = 1, this.start = A, this.startControl = e, this.endControl = t, this.end = r;
      }
      return A.prototype.subdivide = function (e, t) {
        var r = Ts(this.start, this.startControl, e),
          n = Ts(this.startControl, this.endControl, e),
          o = Ts(this.endControl, this.end, e),
          s = Ts(r, n, e),
          i = Ts(n, o, e),
          B = Ts(s, i, e);
        return t ? new A(this.start, r, s, B) : new A(B, i, o, this.end);
      }, A.prototype.add = function (e, t) {
        return new A(this.start.add(e, t), this.startControl.add(e, t), this.endControl.add(e, t), this.end.add(e, t));
      }, A.prototype.reverse = function () {
        return new A(this.end, this.endControl, this.startControl, this.start);
      }, A;
    }(),
    Os = function Os(A) {
      return 1 === A.type;
    },
    Gs = function Gs(A) {
      var e = A.styles,
        t = A.bounds,
        r = rt(e.borderTopLeftRadius, t.width, t.height),
        n = r[0],
        o = r[1],
        s = rt(e.borderTopRightRadius, t.width, t.height),
        i = s[0],
        B = s[1],
        a = rt(e.borderBottomRightRadius, t.width, t.height),
        c = a[0],
        l = a[1],
        g = rt(e.borderBottomLeftRadius, t.width, t.height),
        u = g[0],
        w = g[1],
        Q = [];
      Q.push((n + i) / t.width), Q.push((u + c) / t.width), Q.push((o + w) / t.height), Q.push((B + l) / t.height);
      var h = Math.max.apply(Math, Q);
      h > 1 && (n /= h, o /= h, i /= h, B /= h, c /= h, l /= h, u /= h, w /= h);
      var C = t.width - i,
        U = t.height - l,
        d = t.width - c,
        F = t.height - w,
        p = e.borderTopWidth,
        f = e.borderRightWidth,
        H = e.borderBottomWidth,
        E = e.borderLeftWidth,
        I = nt(e.paddingTop, A.bounds.width),
        m = nt(e.paddingRight, A.bounds.width),
        y = nt(e.paddingBottom, A.bounds.width),
        K = nt(e.paddingLeft, A.bounds.width);
      this.topLeftBorderDoubleOuterBox = n > 0 || o > 0 ? Ps(t.left + E / 3, t.top + p / 3, n - E / 3, o - p / 3, as.TOP_LEFT) : new xs(t.left + E / 3, t.top + p / 3), this.topRightBorderDoubleOuterBox = n > 0 || o > 0 ? Ps(t.left + C, t.top + p / 3, i - f / 3, B - p / 3, as.TOP_RIGHT) : new xs(t.left + t.width - f / 3, t.top + p / 3), this.bottomRightBorderDoubleOuterBox = c > 0 || l > 0 ? Ps(t.left + d, t.top + U, c - f / 3, l - H / 3, as.BOTTOM_RIGHT) : new xs(t.left + t.width - f / 3, t.top + t.height - H / 3), this.bottomLeftBorderDoubleOuterBox = u > 0 || w > 0 ? Ps(t.left + E / 3, t.top + F, u - E / 3, w - H / 3, as.BOTTOM_LEFT) : new xs(t.left + E / 3, t.top + t.height - H / 3), this.topLeftBorderDoubleInnerBox = n > 0 || o > 0 ? Ps(t.left + 2 * E / 3, t.top + 2 * p / 3, n - 2 * E / 3, o - 2 * p / 3, as.TOP_LEFT) : new xs(t.left + 2 * E / 3, t.top + 2 * p / 3), this.topRightBorderDoubleInnerBox = n > 0 || o > 0 ? Ps(t.left + C, t.top + 2 * p / 3, i - 2 * f / 3, B - 2 * p / 3, as.TOP_RIGHT) : new xs(t.left + t.width - 2 * f / 3, t.top + 2 * p / 3), this.bottomRightBorderDoubleInnerBox = c > 0 || l > 0 ? Ps(t.left + d, t.top + U, c - 2 * f / 3, l - 2 * H / 3, as.BOTTOM_RIGHT) : new xs(t.left + t.width - 2 * f / 3, t.top + t.height - 2 * H / 3), this.bottomLeftBorderDoubleInnerBox = u > 0 || w > 0 ? Ps(t.left + 2 * E / 3, t.top + F, u - 2 * E / 3, w - 2 * H / 3, as.BOTTOM_LEFT) : new xs(t.left + 2 * E / 3, t.top + t.height - 2 * H / 3), this.topLeftBorderStroke = n > 0 || o > 0 ? Ps(t.left + E / 2, t.top + p / 2, n - E / 2, o - p / 2, as.TOP_LEFT) : new xs(t.left + E / 2, t.top + p / 2), this.topRightBorderStroke = n > 0 || o > 0 ? Ps(t.left + C, t.top + p / 2, i - f / 2, B - p / 2, as.TOP_RIGHT) : new xs(t.left + t.width - f / 2, t.top + p / 2), this.bottomRightBorderStroke = c > 0 || l > 0 ? Ps(t.left + d, t.top + U, c - f / 2, l - H / 2, as.BOTTOM_RIGHT) : new xs(t.left + t.width - f / 2, t.top + t.height - H / 2), this.bottomLeftBorderStroke = u > 0 || w > 0 ? Ps(t.left + E / 2, t.top + F, u - E / 2, w - H / 2, as.BOTTOM_LEFT) : new xs(t.left + E / 2, t.top + t.height - H / 2), this.topLeftBorderBox = n > 0 || o > 0 ? Ps(t.left, t.top, n, o, as.TOP_LEFT) : new xs(t.left, t.top), this.topRightBorderBox = i > 0 || B > 0 ? Ps(t.left + C, t.top, i, B, as.TOP_RIGHT) : new xs(t.left + t.width, t.top), this.bottomRightBorderBox = c > 0 || l > 0 ? Ps(t.left + d, t.top + U, c, l, as.BOTTOM_RIGHT) : new xs(t.left + t.width, t.top + t.height), this.bottomLeftBorderBox = u > 0 || w > 0 ? Ps(t.left, t.top + F, u, w, as.BOTTOM_LEFT) : new xs(t.left, t.top + t.height), this.topLeftPaddingBox = n > 0 || o > 0 ? Ps(t.left + E, t.top + p, Math.max(0, n - E), Math.max(0, o - p), as.TOP_LEFT) : new xs(t.left + E, t.top + p), this.topRightPaddingBox = i > 0 || B > 0 ? Ps(t.left + Math.min(C, t.width - f), t.top + p, C > t.width + f ? 0 : Math.max(0, i - f), Math.max(0, B - p), as.TOP_RIGHT) : new xs(t.left + t.width - f, t.top + p), this.bottomRightPaddingBox = c > 0 || l > 0 ? Ps(t.left + Math.min(d, t.width - E), t.top + Math.min(U, t.height - H), Math.max(0, c - f), Math.max(0, l - H), as.BOTTOM_RIGHT) : new xs(t.left + t.width - f, t.top + t.height - H), this.bottomLeftPaddingBox = u > 0 || w > 0 ? Ps(t.left + E, t.top + Math.min(F, t.height - H), Math.max(0, u - E), Math.max(0, w - H), as.BOTTOM_LEFT) : new xs(t.left + E, t.top + t.height - H), this.topLeftContentBox = n > 0 || o > 0 ? Ps(t.left + E + K, t.top + p + I, Math.max(0, n - (E + K)), Math.max(0, o - (p + I)), as.TOP_LEFT) : new xs(t.left + E + K, t.top + p + I), this.topRightContentBox = i > 0 || B > 0 ? Ps(t.left + Math.min(C, t.width + E + K), t.top + p + I, C > t.width + E + K ? 0 : i - E + K, B - (p + I), as.TOP_RIGHT) : new xs(t.left + t.width - (f + m), t.top + p + I), this.bottomRightContentBox = c > 0 || l > 0 ? Ps(t.left + Math.min(d, t.width - (E + K)), t.top + Math.min(U, t.height + p + I), Math.max(0, c - (f + m)), l - (H + y), as.BOTTOM_RIGHT) : new xs(t.left + t.width - (f + m), t.top + t.height - (H + y)), this.bottomLeftContentBox = u > 0 || w > 0 ? Ps(t.left + E + K, t.top + F, Math.max(0, u - (E + K)), w - (H + y), as.BOTTOM_LEFT) : new xs(t.left + E + K, t.top + t.height - (H + y));
    };
  !function (A) {
    A[A.TOP_LEFT = 0] = "TOP_LEFT", A[A.TOP_RIGHT = 1] = "TOP_RIGHT", A[A.BOTTOM_RIGHT = 2] = "BOTTOM_RIGHT", A[A.BOTTOM_LEFT = 3] = "BOTTOM_LEFT";
  }(as || (as = {}));
  var Ps = function Ps(A, e, t, r, n) {
      var o = (Math.sqrt(2) - 1) / 3 * 4,
        s = t * o,
        i = r * o,
        B = A + t,
        a = e + r;
      switch (n) {
        case as.TOP_LEFT:
          return new Ms(new xs(A, a), new xs(A, a - i), new xs(B - s, e), new xs(B, e));
        case as.TOP_RIGHT:
          return new Ms(new xs(A, e), new xs(A + s, e), new xs(B, a - i), new xs(B, a));
        case as.BOTTOM_RIGHT:
          return new Ms(new xs(B, e), new xs(B, e + i), new xs(A + s, a), new xs(A, a));
        case as.BOTTOM_LEFT:
        default:
          return new Ms(new xs(B, a), new xs(B - s, a), new xs(A, e + i), new xs(A, e));
      }
    },
    ks = function ks(A) {
      return [A.topLeftBorderBox, A.topRightBorderBox, A.bottomRightBorderBox, A.bottomLeftBorderBox];
    },
    Rs = function Rs(A) {
      return [A.topLeftPaddingBox, A.topRightPaddingBox, A.bottomRightPaddingBox, A.bottomLeftPaddingBox];
    },
    Vs = function Vs(A, e, t) {
      this.offsetX = A, this.offsetY = e, this.matrix = t, this.type = 0, this.target = 6;
    },
    Xs = function Xs(A, e) {
      this.path = A, this.target = e, this.type = 1;
    },
    Ns = function Ns(A) {
      this.opacity = A, this.type = 2, this.target = 6;
    },
    Js = function Js(A) {
      return 1 === A.type;
    },
    Ys = function Ys(A, e) {
      return A.length === e.length && A.some(function (A, t) {
        return A === e[t];
      });
    },
    Ws = function Ws(A) {
      this.element = A, this.inlineLevel = [], this.nonInlineLevel = [], this.negativeZIndex = [], this.zeroOrAutoZIndexOrTransformedOrOpacity = [], this.positiveZIndex = [], this.nonPositionedFloats = [], this.nonPositionedInlineLevel = [];
    },
    Zs = function () {
      function A(A, e) {
        if (this.container = A, this.parent = e, this.effects = [], this.curves = new Gs(this.container), this.container.styles.opacity < 1 && this.effects.push(new Ns(this.container.styles.opacity)), null !== this.container.styles.transform) {
          var t = this.container.bounds.left + this.container.styles.transformOrigin[0].number,
            r = this.container.bounds.top + this.container.styles.transformOrigin[1].number,
            n = this.container.styles.transform;
          this.effects.push(new Vs(t, r, n));
        }
        if (0 !== this.container.styles.overflowX) {
          var o = ks(this.curves),
            s = Rs(this.curves);
          Ys(o, s) ? this.effects.push(new Xs(o, 6)) : (this.effects.push(new Xs(o, 2)), this.effects.push(new Xs(s, 4)));
        }
      }
      return A.prototype.getEffects = function (A) {
        for (var e = -1 === [2, 3].indexOf(this.container.styles.position), t = this.parent, r = this.effects.slice(0); t;) {
          var n = t.effects.filter(function (A) {
            return !Js(A);
          });
          if (e || 0 !== t.container.styles.position || !t.parent) {
            if (r.unshift.apply(r, n), e = -1 === [2, 3].indexOf(t.container.styles.position), 0 !== t.container.styles.overflowX) {
              var o = ks(t.curves),
                s = Rs(t.curves);
              Ys(o, s) || r.unshift(new Xs(s, 6));
            }
          } else r.unshift.apply(r, n);
          t = t.parent;
        }
        return r.filter(function (e) {
          return an(e.target, A);
        });
      }, A;
    }(),
    _zs = function zs(A, e, t, r) {
      A.container.elements.forEach(function (n) {
        var o = an(n.flags, 4),
          s = an(n.flags, 2),
          i = new Zs(n, A);
        an(n.styles.display, 2048) && r.push(i);
        var B = an(n.flags, 8) ? [] : r;
        if (o || s) {
          var a = o || n.styles.isPositioned() ? t : e,
            c = new Ws(i);
          if (n.styles.isPositioned() || n.styles.opacity < 1 || n.styles.isTransformed()) {
            var l = n.styles.zIndex.order;
            if (l < 0) {
              var g = 0;
              a.negativeZIndex.some(function (A, e) {
                return l > A.element.container.styles.zIndex.order ? (g = e, !1) : g > 0;
              }), a.negativeZIndex.splice(g, 0, c);
            } else if (l > 0) {
              var u = 0;
              a.positiveZIndex.some(function (A, e) {
                return l >= A.element.container.styles.zIndex.order ? (u = e + 1, !1) : u > 0;
              }), a.positiveZIndex.splice(u, 0, c);
            } else a.zeroOrAutoZIndexOrTransformedOrOpacity.push(c);
          } else n.styles.isFloating() ? a.nonPositionedFloats.push(c) : a.nonPositionedInlineLevel.push(c);
          _zs(i, c, o ? c : t, B);
        } else n.styles.isInlineLevel() ? e.inlineLevel.push(i) : e.nonInlineLevel.push(i), _zs(i, e, t, B);
        an(n.flags, 8) && qs(n, B);
      });
    },
    qs = function qs(A, e) {
      for (var t = A instanceof co ? A.start : 1, r = A instanceof co && A.reversed, n = 0; n < e.length; n++) {
        var o = e[n];
        o.container instanceof ao && "number" == typeof o.container.value && 0 !== o.container.value && (t = o.container.value), o.listValue = ss(t, o.container.styles.listStyleType, !0), t += r ? -1 : 1;
      }
    },
    js = function js(A, e) {
      switch (e) {
        case 0:
          return $s(A.topLeftBorderBox, A.topLeftPaddingBox, A.topRightBorderBox, A.topRightPaddingBox);
        case 1:
          return $s(A.topRightBorderBox, A.topRightPaddingBox, A.bottomRightBorderBox, A.bottomRightPaddingBox);
        case 2:
          return $s(A.bottomRightBorderBox, A.bottomRightPaddingBox, A.bottomLeftBorderBox, A.bottomLeftPaddingBox);
        default:
          return $s(A.bottomLeftBorderBox, A.bottomLeftPaddingBox, A.topLeftBorderBox, A.topLeftPaddingBox);
      }
    },
    _s = function _s(A, e) {
      var t = [];
      return Os(A) ? t.push(A.subdivide(.5, !1)) : t.push(A), Os(e) ? t.push(e.subdivide(.5, !0)) : t.push(e), t;
    },
    $s = function $s(A, e, t, r) {
      var n = [];
      return Os(A) ? n.push(A.subdivide(.5, !1)) : n.push(A), Os(t) ? n.push(t.subdivide(.5, !0)) : n.push(t), Os(r) ? n.push(r.subdivide(.5, !0).reverse()) : n.push(r), Os(e) ? n.push(e.subdivide(.5, !1).reverse()) : n.push(e), n;
    },
    Ai = function Ai(A) {
      var e = A.bounds,
        t = A.styles;
      return e.add(t.borderLeftWidth, t.borderTopWidth, -(t.borderRightWidth + t.borderLeftWidth), -(t.borderTopWidth + t.borderBottomWidth));
    },
    ei = function ei(A) {
      var e = A.styles,
        t = A.bounds,
        r = nt(e.paddingLeft, t.width),
        n = nt(e.paddingRight, t.width),
        o = nt(e.paddingTop, t.width),
        s = nt(e.paddingBottom, t.width);
      return t.add(r + e.borderLeftWidth, o + e.borderTopWidth, -(e.borderRightWidth + e.borderLeftWidth + r + n), -(e.borderTopWidth + e.borderBottomWidth + o + s));
    },
    ti = function ti(A, e, t) {
      var r = function (A, e) {
          return 0 === A ? e.bounds : 2 === A ? ei(e) : Ai(e);
        }(si(A.styles.backgroundOrigin, e), A),
        n = function (A, e) {
          return 0 === A ? e.bounds : 2 === A ? ei(e) : Ai(e);
        }(si(A.styles.backgroundClip, e), A),
        o = oi(si(A.styles.backgroundSize, e), t, r),
        s = o[0],
        i = o[1],
        B = rt(si(A.styles.backgroundPosition, e), r.width - s, r.height - i);
      return [ii(si(A.styles.backgroundRepeat, e), B, o, r, n), Math.round(r.left + B[0]), Math.round(r.top + B[1]), s, i];
    },
    ri = function ri(A) {
      return Ne(A) && A.value === kt.AUTO;
    },
    ni = function ni(A) {
      return "number" == typeof A;
    },
    oi = function oi(A, e, t) {
      var r = e[0],
        n = e[1],
        o = e[2],
        s = A[0],
        i = A[1];
      if (!s) return [0, 0];
      if (_e(s) && i && _e(i)) return [nt(s, t.width), nt(i, t.height)];
      var B = ni(o);
      if (Ne(s) && (s.value === kt.CONTAIN || s.value === kt.COVER)) return ni(o) ? t.width / t.height < o != (s.value === kt.COVER) ? [t.width, t.width / o] : [t.height * o, t.height] : [t.width, t.height];
      var a = ni(r),
        c = ni(n),
        l = a || c;
      if (ri(s) && (!i || ri(i))) return a && c ? [r, n] : B || l ? l && B ? [a ? r : n * o, c ? n : r / o] : [a ? r : t.width, c ? n : t.height] : [t.width, t.height];
      if (B) {
        var g = 0,
          u = 0;
        return _e(s) ? g = nt(s, t.width) : _e(i) && (u = nt(i, t.height)), ri(s) ? g = u * o : i && !ri(i) || (u = g / o), [g, u];
      }
      var w = null,
        Q = null;
      if (_e(s) ? w = nt(s, t.width) : i && _e(i) && (Q = nt(i, t.height)), null === w || i && !ri(i) || (Q = a && c ? w / r * n : t.height), null !== Q && ri(s) && (w = a && c ? Q / n * r : t.width), null !== w && null !== Q) return [w, Q];
      throw new Error("Unable to calculate background-size for element");
    },
    si = function si(A, e) {
      var t = A[e];
      return void 0 === t ? A[0] : t;
    },
    ii = function ii(A, e, t, r, n) {
      var o = e[0],
        s = e[1],
        i = t[0],
        B = t[1];
      switch (A) {
        case 2:
          return [new xs(Math.round(r.left), Math.round(r.top + s)), new xs(Math.round(r.left + r.width), Math.round(r.top + s)), new xs(Math.round(r.left + r.width), Math.round(B + r.top + s)), new xs(Math.round(r.left), Math.round(B + r.top + s))];
        case 3:
          return [new xs(Math.round(r.left + o), Math.round(r.top)), new xs(Math.round(r.left + o + i), Math.round(r.top)), new xs(Math.round(r.left + o + i), Math.round(r.height + r.top)), new xs(Math.round(r.left + o), Math.round(r.height + r.top))];
        case 1:
          return [new xs(Math.round(r.left + o), Math.round(r.top + s)), new xs(Math.round(r.left + o + i), Math.round(r.top + s)), new xs(Math.round(r.left + o + i), Math.round(r.top + s + B)), new xs(Math.round(r.left + o), Math.round(r.top + s + B))];
        default:
          return [new xs(Math.round(n.left), Math.round(n.top)), new xs(Math.round(n.left + n.width), Math.round(n.top)), new xs(Math.round(n.left + n.width), Math.round(n.height + n.top)), new xs(Math.round(n.left), Math.round(n.height + n.top))];
      }
    },
    Bi = "Hidden Text",
    ai = function () {
      function A(A) {
        this._data = {}, this._document = A;
      }
      return A.prototype.parseMetrics = function (A, e) {
        var t = this._document.createElement("div"),
          r = this._document.createElement("img"),
          n = this._document.createElement("span"),
          o = this._document.body;
        t.style.visibility = "hidden", t.style.fontFamily = A, t.style.fontSize = e, t.style.margin = "0", t.style.padding = "0", t.style.whiteSpace = "nowrap", o.appendChild(t), r.src = "", r.width = 1, r.height = 1, r.style.margin = "0", r.style.padding = "0", r.style.verticalAlign = "baseline", n.style.fontFamily = A, n.style.fontSize = e, n.style.margin = "0", n.style.padding = "0", n.appendChild(this._document.createTextNode(Bi)), t.appendChild(n), t.appendChild(r);
        var s = r.offsetTop - n.offsetTop + 2;
        t.removeChild(n), t.appendChild(this._document.createTextNode(Bi)), t.style.lineHeight = "normal", r.style.verticalAlign = "super";
        var i = r.offsetTop - t.offsetTop + 2;
        return o.removeChild(t), {
          baseline: s,
          middle: i
        };
      }, A.prototype.getMetrics = function (A, e) {
        var t = A + " " + e;
        return void 0 === this._data[t] && (this._data[t] = this.parseMetrics(A, e)), this._data[t];
      }, A;
    }(),
    ci = function ci(A, e) {
      this.context = A, this.options = e;
    },
    li = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        return r._activeEffects = [], r.canvas = t.canvas ? t.canvas : document.createElement("canvas"), r.ctx = r.canvas.getContext("2d"), t.canvas || (r.canvas.width = Math.floor(t.width * t.scale), r.canvas.height = Math.floor(t.height * t.scale), r.canvas.style.width = t.width + "px", r.canvas.style.height = t.height + "px"), r.fontMetrics = new ai(document), r.ctx.scale(r.options.scale, r.options.scale), r.ctx.translate(-t.x, -t.y), r.ctx.textBaseline = "bottom", r._activeEffects = [], r.context.logger.debug("Canvas renderer initialized (" + t.width + "x" + t.height + ") with scale " + t.scale), r;
      }
      return AA(e, A), e.prototype.applyEffects = function (A) {
        for (var e = this; this._activeEffects.length;) this.popEffect();
        A.forEach(function (A) {
          return e.applyEffect(A);
        });
      }, e.prototype.applyEffect = function (A) {
        this.ctx.save(), function (A) {
          return 2 === A.type;
        }(A) && (this.ctx.globalAlpha = A.opacity), function (A) {
          return 0 === A.type;
        }(A) && (this.ctx.translate(A.offsetX, A.offsetY), this.ctx.transform(A.matrix[0], A.matrix[1], A.matrix[2], A.matrix[3], A.matrix[4], A.matrix[5]), this.ctx.translate(-A.offsetX, -A.offsetY)), Js(A) && (this.path(A.path), this.ctx.clip()), this._activeEffects.push(A);
      }, e.prototype.popEffect = function () {
        this._activeEffects.pop(), this.ctx.restore();
      }, e.prototype.renderStack = function (A) {
        return tA(this, void 0, void 0, function () {
          return rA(this, function (e) {
            switch (e.label) {
              case 0:
                return A.element.container.styles.isVisible() ? [4, this.renderStackContent(A)] : [3, 2];
              case 1:
                e.sent(), e.label = 2;
              case 2:
                return [2];
            }
          });
        });
      }, e.prototype.renderNode = function (A) {
        return tA(this, void 0, void 0, function () {
          return rA(this, function (e) {
            switch (e.label) {
              case 0:
                return an(A.container.flags, 16), A.container.styles.isVisible() ? [4, this.renderNodeBackgroundAndBorders(A)] : [3, 3];
              case 1:
                return e.sent(), [4, this.renderNodeContent(A)];
              case 2:
                e.sent(), e.label = 3;
              case 3:
                return [2];
            }
          });
        });
      }, e.prototype.renderTextWithLetterSpacing = function (A, e, t) {
        var r = this;
        0 === e ? this.ctx.fillText(A.text, A.bounds.left, A.bounds.top + t) : _n(A.text).reduce(function (e, n) {
          return r.ctx.fillText(n, e, A.bounds.top + t), e + r.ctx.measureText(n).width;
        }, A.bounds.left);
      }, e.prototype.createFontStyle = function (A) {
        var e = A.fontVariant.filter(function (A) {
            return "normal" === A || "small-caps" === A;
          }).join(""),
          t = hi(A.fontFamily).join(", "),
          r = Ve(A.fontSize) ? "" + A.fontSize.number + A.fontSize.unit : A.fontSize.number + "px";
        return [[A.fontStyle, e, A.fontWeight, r, t].join(" "), t, r];
      }, e.prototype.renderTextNode = function (A, e) {
        return tA(this, void 0, void 0, function () {
          var t,
            r,
            n,
            o,
            s,
            i,
            B,
            a,
            c = this;
          return rA(this, function (l) {
            return t = this.createFontStyle(e), r = t[0], n = t[1], o = t[2], this.ctx.font = r, this.ctx.direction = 1 === e.direction ? "rtl" : "ltr", this.ctx.textAlign = "left", this.ctx.textBaseline = "alphabetic", s = this.fontMetrics.getMetrics(n, o), i = s.baseline, B = s.middle, a = e.paintOrder, A.textBounds.forEach(function (A) {
              a.forEach(function (t) {
                switch (t) {
                  case 0:
                    c.ctx.fillStyle = ut(e.color), c.renderTextWithLetterSpacing(A, e.letterSpacing, i);
                    var r = e.textShadow;
                    r.length && A.text.trim().length && (r.slice(0).reverse().forEach(function (t) {
                      c.ctx.shadowColor = ut(t.color), c.ctx.shadowOffsetX = t.offsetX.number * c.options.scale, c.ctx.shadowOffsetY = t.offsetY.number * c.options.scale, c.ctx.shadowBlur = t.blur.number, c.renderTextWithLetterSpacing(A, e.letterSpacing, i);
                    }), c.ctx.shadowColor = "", c.ctx.shadowOffsetX = 0, c.ctx.shadowOffsetY = 0, c.ctx.shadowBlur = 0), e.textDecorationLine.length && (c.ctx.fillStyle = ut(e.textDecorationColor || e.color), e.textDecorationLine.forEach(function (e) {
                      switch (e) {
                        case 1:
                          c.ctx.fillRect(A.bounds.left, Math.round(A.bounds.top + i), A.bounds.width, 1);
                          break;
                        case 2:
                          c.ctx.fillRect(A.bounds.left, Math.round(A.bounds.top), A.bounds.width, 1);
                          break;
                        case 3:
                          c.ctx.fillRect(A.bounds.left, Math.ceil(A.bounds.top + B), A.bounds.width, 1);
                      }
                    }));
                    break;
                  case 1:
                    e.webkitTextStrokeWidth && A.text.trim().length && (c.ctx.strokeStyle = ut(e.webkitTextStrokeColor), c.ctx.lineWidth = e.webkitTextStrokeWidth, c.ctx.lineJoin = window.chrome ? "miter" : "round", c.ctx.strokeText(A.text, A.bounds.left, A.bounds.top + i)), c.ctx.strokeStyle = "", c.ctx.lineWidth = 0, c.ctx.lineJoin = "miter";
                }
              });
            }), [2];
          });
        });
      }, e.prototype.renderReplacedElement = function (A, e, t) {
        if (t && A.intrinsicWidth > 0 && A.intrinsicHeight > 0) {
          var r = ei(A),
            n = Rs(e);
          this.path(n), this.ctx.save(), this.ctx.clip(), this.ctx.drawImage(t, 0, 0, A.intrinsicWidth, A.intrinsicHeight, r.left, r.top, r.width, r.height), this.ctx.restore();
        }
      }, e.prototype.renderNodeContent = function (A) {
        return tA(this, void 0, void 0, function () {
          var t, r, n, o, s, i, B, a, c, l, g, u, w, Q, h, C, U, d;
          return rA(this, function (F) {
            switch (F.label) {
              case 0:
                this.applyEffects(A.getEffects(4)), t = A.container, r = A.curves, n = t.styles, o = 0, s = t.textNodes, F.label = 1;
              case 1:
                return o < s.length ? (i = s[o], [4, this.renderTextNode(i, n)]) : [3, 4];
              case 2:
                F.sent(), F.label = 3;
              case 3:
                return o++, [3, 1];
              case 4:
                if (!(t instanceof so)) return [3, 8];
                F.label = 5;
              case 5:
                return F.trys.push([5, 7,, 8]), [4, this.context.cache.match(t.src)];
              case 6:
                return h = F.sent(), this.renderReplacedElement(t, r, h), [3, 8];
              case 7:
                return F.sent(), this.context.logger.error("Error loading image " + t.src), [3, 8];
              case 8:
                if (t instanceof io && this.renderReplacedElement(t, r, t.canvas), !(t instanceof Bo)) return [3, 12];
                F.label = 9;
              case 9:
                return F.trys.push([9, 11,, 12]), [4, this.context.cache.match(t.svg)];
              case 10:
                return h = F.sent(), this.renderReplacedElement(t, r, h), [3, 12];
              case 11:
                return F.sent(), this.context.logger.error("Error loading svg " + t.svg.substring(0, 255)), [3, 12];
              case 12:
                return t instanceof po && t.tree ? [4, new e(this.context, {
                  scale: this.options.scale,
                  backgroundColor: t.backgroundColor,
                  x: 0,
                  y: 0,
                  width: t.width,
                  height: t.height
                }).render(t.tree)] : [3, 14];
              case 13:
                B = F.sent(), t.width && t.height && this.ctx.drawImage(B, 0, 0, t.width, t.height, t.bounds.left, t.bounds.top, t.bounds.width, t.bounds.height), F.label = 14;
              case 14:
                if (t instanceof Co && (a = Math.min(t.bounds.width, t.bounds.height), t.type === uo ? t.checked && (this.ctx.save(), this.path([new xs(t.bounds.left + .39363 * a, t.bounds.top + .79 * a), new xs(t.bounds.left + .16 * a, t.bounds.top + .5549 * a), new xs(t.bounds.left + .27347 * a, t.bounds.top + .44071 * a), new xs(t.bounds.left + .39694 * a, t.bounds.top + .5649 * a), new xs(t.bounds.left + .72983 * a, t.bounds.top + .23 * a), new xs(t.bounds.left + .84 * a, t.bounds.top + .34085 * a), new xs(t.bounds.left + .39363 * a, t.bounds.top + .79 * a)]), this.ctx.fillStyle = ut(ho), this.ctx.fill(), this.ctx.restore()) : t.type === wo && t.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(t.bounds.left + a / 2, t.bounds.top + a / 2, a / 4, 0, 2 * Math.PI, !0), this.ctx.fillStyle = ut(ho), this.ctx.fill(), this.ctx.restore())), gi(t) && t.value.length) {
                  switch (c = this.createFontStyle(n), U = c[0], l = c[1], g = this.fontMetrics.getMetrics(U, l).baseline, this.ctx.font = U, this.ctx.fillStyle = ut(n.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = wi(t.styles.textAlign), d = ei(t), u = 0, t.styles.textAlign) {
                    case 1:
                      u += d.width / 2;
                      break;
                    case 2:
                      u += d.width;
                  }
                  w = d.add(u, 0, 0, -d.height / 2 + 1), this.ctx.save(), this.path([new xs(d.left, d.top), new xs(d.left + d.width, d.top), new xs(d.left + d.width, d.top + d.height), new xs(d.left, d.top + d.height)]), this.ctx.clip(), this.renderTextWithLetterSpacing(new zn(t.value, w), n.letterSpacing, g), this.ctx.restore(), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = "left";
                }
                if (!an(t.styles.display, 2048)) return [3, 20];
                if (null === t.styles.listStyleImage) return [3, 19];
                if (0 !== (Q = t.styles.listStyleImage).type) return [3, 18];
                h = void 0, C = Q.url, F.label = 15;
              case 15:
                return F.trys.push([15, 17,, 18]), [4, this.context.cache.match(C)];
              case 16:
                return h = F.sent(), this.ctx.drawImage(h, t.bounds.left - (h.width + 10), t.bounds.top), [3, 18];
              case 17:
                return F.sent(), this.context.logger.error("Error loading list-style-image " + C), [3, 18];
              case 18:
                return [3, 20];
              case 19:
                A.listValue && -1 !== t.styles.listStyleType && (U = this.createFontStyle(n)[0], this.ctx.font = U, this.ctx.fillStyle = ut(n.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", d = new oA(t.bounds.left, t.bounds.top + nt(t.styles.paddingTop, t.bounds.width), t.bounds.width, Ir(n.lineHeight, n.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new zn(A.listValue, d), n.letterSpacing, Ir(n.lineHeight, n.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), F.label = 20;
              case 20:
                return [2];
            }
          });
        });
      }, e.prototype.renderStackContent = function (A) {
        return tA(this, void 0, void 0, function () {
          var e, t, r, n, o, s, i, B, a, c, l, g, u, w, Q;
          return rA(this, function (h) {
            switch (h.label) {
              case 0:
                return an(A.element.container.flags, 16), [4, this.renderNodeBackgroundAndBorders(A.element)];
              case 1:
                h.sent(), e = 0, t = A.negativeZIndex, h.label = 2;
              case 2:
                return e < t.length ? (Q = t[e], [4, this.renderStack(Q)]) : [3, 5];
              case 3:
                h.sent(), h.label = 4;
              case 4:
                return e++, [3, 2];
              case 5:
                return [4, this.renderNodeContent(A.element)];
              case 6:
                h.sent(), r = 0, n = A.nonInlineLevel, h.label = 7;
              case 7:
                return r < n.length ? (Q = n[r], [4, this.renderNode(Q)]) : [3, 10];
              case 8:
                h.sent(), h.label = 9;
              case 9:
                return r++, [3, 7];
              case 10:
                o = 0, s = A.nonPositionedFloats, h.label = 11;
              case 11:
                return o < s.length ? (Q = s[o], [4, this.renderStack(Q)]) : [3, 14];
              case 12:
                h.sent(), h.label = 13;
              case 13:
                return o++, [3, 11];
              case 14:
                i = 0, B = A.nonPositionedInlineLevel, h.label = 15;
              case 15:
                return i < B.length ? (Q = B[i], [4, this.renderStack(Q)]) : [3, 18];
              case 16:
                h.sent(), h.label = 17;
              case 17:
                return i++, [3, 15];
              case 18:
                a = 0, c = A.inlineLevel, h.label = 19;
              case 19:
                return a < c.length ? (Q = c[a], [4, this.renderNode(Q)]) : [3, 22];
              case 20:
                h.sent(), h.label = 21;
              case 21:
                return a++, [3, 19];
              case 22:
                l = 0, g = A.zeroOrAutoZIndexOrTransformedOrOpacity, h.label = 23;
              case 23:
                return l < g.length ? (Q = g[l], [4, this.renderStack(Q)]) : [3, 26];
              case 24:
                h.sent(), h.label = 25;
              case 25:
                return l++, [3, 23];
              case 26:
                u = 0, w = A.positiveZIndex, h.label = 27;
              case 27:
                return u < w.length ? (Q = w[u], [4, this.renderStack(Q)]) : [3, 30];
              case 28:
                h.sent(), h.label = 29;
              case 29:
                return u++, [3, 27];
              case 30:
                return [2];
            }
          });
        });
      }, e.prototype.mask = function (A) {
        this.ctx.beginPath(), this.ctx.moveTo(0, 0), this.ctx.lineTo(this.canvas.width, 0), this.ctx.lineTo(this.canvas.width, this.canvas.height), this.ctx.lineTo(0, this.canvas.height), this.ctx.lineTo(0, 0), this.formatPath(A.slice(0).reverse()), this.ctx.closePath();
      }, e.prototype.path = function (A) {
        this.ctx.beginPath(), this.formatPath(A), this.ctx.closePath();
      }, e.prototype.formatPath = function (A) {
        var e = this;
        A.forEach(function (A, t) {
          var r = Os(A) ? A.start : A;
          0 === t ? e.ctx.moveTo(r.x, r.y) : e.ctx.lineTo(r.x, r.y), Os(A) && e.ctx.bezierCurveTo(A.startControl.x, A.startControl.y, A.endControl.x, A.endControl.y, A.end.x, A.end.y);
        });
      }, e.prototype.renderRepeat = function (A, e, t, r) {
        this.path(A), this.ctx.fillStyle = e, this.ctx.translate(t, r), this.ctx.fill(), this.ctx.translate(-t, -r);
      }, e.prototype.resizeImage = function (A, e, t) {
        var r;
        if (A.width === e && A.height === t) return A;
        var n = (null !== (r = this.canvas.ownerDocument) && void 0 !== r ? r : document).createElement("canvas");
        return n.width = Math.max(1, e), n.height = Math.max(1, t), n.getContext("2d").drawImage(A, 0, 0, A.width, A.height, 0, 0, e, t), n;
      }, e.prototype.renderBackgroundImage = function (A) {
        return tA(this, void 0, void 0, function () {
          var e, t, r, n, o, s;
          return rA(this, function (i) {
            switch (i.label) {
              case 0:
                e = A.styles.backgroundImage.length - 1, t = function t(_t5) {
                  var n, o, s, i, B, a, c, l, g, u, w, Q, h, C, U, d, F, p, f, H, E, I, m, y, K, b, v, S, L, D, x;
                  return rA(this, function (T) {
                    switch (T.label) {
                      case 0:
                        if (0 !== _t5.type) return [3, 5];
                        n = void 0, o = _t5.url, T.label = 1;
                      case 1:
                        return T.trys.push([1, 3,, 4]), [4, r.context.cache.match(o)];
                      case 2:
                        return n = T.sent(), [3, 4];
                      case 3:
                        return T.sent(), r.context.logger.error("Error loading background-image " + o), [3, 4];
                      case 4:
                        return n && (s = ti(A, e, [n.width, n.height, n.width / n.height]), d = s[0], I = s[1], m = s[2], f = s[3], H = s[4], C = r.ctx.createPattern(r.resizeImage(n, f, H), "repeat"), r.renderRepeat(d, C, I, m)), [3, 6];
                      case 5:
                        1 === _t5.type ? (i = ti(A, e, [null, null, null]), d = i[0], I = i[1], m = i[2], f = i[3], H = i[4], B = mt(_t5.angle, f, H), a = B[0], c = B[1], l = B[2], g = B[3], u = B[4], (w = document.createElement("canvas")).width = f, w.height = H, Q = w.getContext("2d"), h = Q.createLinearGradient(c, g, l, u), It(_t5.stops, a).forEach(function (A) {
                          return h.addColorStop(A.stop, ut(A.color));
                        }), Q.fillStyle = h, Q.fillRect(0, 0, f, H), f > 0 && H > 0 && (C = r.ctx.createPattern(w, "repeat"), r.renderRepeat(d, C, I, m))) : function (A) {
                          return 2 === A.type;
                        }(_t5) && (U = ti(A, e, [null, null, null]), d = U[0], F = U[1], p = U[2], f = U[3], H = U[4], E = 0 === _t5.position.length ? [et] : _t5.position, I = nt(E[0], f), m = nt(E[E.length - 1], H), y = function (A, e, t, r, n) {
                          var o = 0,
                            s = 0;
                          switch (A.size) {
                            case 0:
                              0 === A.shape ? o = s = Math.min(Math.abs(e), Math.abs(e - r), Math.abs(t), Math.abs(t - n)) : 1 === A.shape && (o = Math.min(Math.abs(e), Math.abs(e - r)), s = Math.min(Math.abs(t), Math.abs(t - n)));
                              break;
                            case 2:
                              if (0 === A.shape) o = s = Math.min(yt(e, t), yt(e, t - n), yt(e - r, t), yt(e - r, t - n));else if (1 === A.shape) {
                                var i = Math.min(Math.abs(t), Math.abs(t - n)) / Math.min(Math.abs(e), Math.abs(e - r)),
                                  B = Kt(r, n, e, t, !0),
                                  a = B[0],
                                  c = B[1];
                                s = i * (o = yt(a - e, (c - t) / i));
                              }
                              break;
                            case 1:
                              0 === A.shape ? o = s = Math.max(Math.abs(e), Math.abs(e - r), Math.abs(t), Math.abs(t - n)) : 1 === A.shape && (o = Math.max(Math.abs(e), Math.abs(e - r)), s = Math.max(Math.abs(t), Math.abs(t - n)));
                              break;
                            case 3:
                              if (0 === A.shape) o = s = Math.max(yt(e, t), yt(e, t - n), yt(e - r, t), yt(e - r, t - n));else if (1 === A.shape) {
                                i = Math.max(Math.abs(t), Math.abs(t - n)) / Math.max(Math.abs(e), Math.abs(e - r));
                                var l = Kt(r, n, e, t, !1);
                                a = l[0], c = l[1], s = i * (o = yt(a - e, (c - t) / i));
                              }
                          }
                          return Array.isArray(A.size) && (o = nt(A.size[0], r), s = 2 === A.size.length ? nt(A.size[1], n) : o), [o, s];
                        }(_t5, I, m, f, H), K = y[0], b = y[1], K > 0 && b > 0 && (v = r.ctx.createRadialGradient(F + I, p + m, 0, F + I, p + m, K), It(_t5.stops, 2 * K).forEach(function (A) {
                          return v.addColorStop(A.stop, ut(A.color));
                        }), r.path(d), r.ctx.fillStyle = v, K !== b ? (S = A.bounds.left + .5 * A.bounds.width, L = A.bounds.top + .5 * A.bounds.height, x = 1 / (D = b / K), r.ctx.save(), r.ctx.translate(S, L), r.ctx.transform(1, 0, 0, D, 0, 0), r.ctx.translate(-S, -L), r.ctx.fillRect(F, x * (p - L) + L, f, H * x), r.ctx.restore()) : r.ctx.fill())), T.label = 6;
                      case 6:
                        return e--, [2];
                    }
                  });
                }, r = this, n = 0, o = A.styles.backgroundImage.slice(0).reverse(), i.label = 1;
              case 1:
                return n < o.length ? (s = o[n], [5, t(s)]) : [3, 4];
              case 2:
                i.sent(), i.label = 3;
              case 3:
                return n++, [3, 1];
              case 4:
                return [2];
            }
          });
        });
      }, e.prototype.renderSolidBorder = function (A, e, t) {
        return tA(this, void 0, void 0, function () {
          return rA(this, function (r) {
            return this.path(js(t, e)), this.ctx.fillStyle = ut(A), this.ctx.fill(), [2];
          });
        });
      }, e.prototype.renderDoubleBorder = function (A, e, t, r) {
        return tA(this, void 0, void 0, function () {
          var n, o;
          return rA(this, function (s) {
            switch (s.label) {
              case 0:
                return e < 3 ? [4, this.renderSolidBorder(A, t, r)] : [3, 2];
              case 1:
                return s.sent(), [2];
              case 2:
                return n = function (A, e) {
                  switch (e) {
                    case 0:
                      return $s(A.topLeftBorderBox, A.topLeftBorderDoubleOuterBox, A.topRightBorderBox, A.topRightBorderDoubleOuterBox);
                    case 1:
                      return $s(A.topRightBorderBox, A.topRightBorderDoubleOuterBox, A.bottomRightBorderBox, A.bottomRightBorderDoubleOuterBox);
                    case 2:
                      return $s(A.bottomRightBorderBox, A.bottomRightBorderDoubleOuterBox, A.bottomLeftBorderBox, A.bottomLeftBorderDoubleOuterBox);
                    default:
                      return $s(A.bottomLeftBorderBox, A.bottomLeftBorderDoubleOuterBox, A.topLeftBorderBox, A.topLeftBorderDoubleOuterBox);
                  }
                }(r, t), this.path(n), this.ctx.fillStyle = ut(A), this.ctx.fill(), o = function (A, e) {
                  switch (e) {
                    case 0:
                      return $s(A.topLeftBorderDoubleInnerBox, A.topLeftPaddingBox, A.topRightBorderDoubleInnerBox, A.topRightPaddingBox);
                    case 1:
                      return $s(A.topRightBorderDoubleInnerBox, A.topRightPaddingBox, A.bottomRightBorderDoubleInnerBox, A.bottomRightPaddingBox);
                    case 2:
                      return $s(A.bottomRightBorderDoubleInnerBox, A.bottomRightPaddingBox, A.bottomLeftBorderDoubleInnerBox, A.bottomLeftPaddingBox);
                    default:
                      return $s(A.bottomLeftBorderDoubleInnerBox, A.bottomLeftPaddingBox, A.topLeftBorderDoubleInnerBox, A.topLeftPaddingBox);
                  }
                }(r, t), this.path(o), this.ctx.fill(), [2];
            }
          });
        });
      }, e.prototype.renderNodeBackgroundAndBorders = function (A) {
        return tA(this, void 0, void 0, function () {
          var e,
            t,
            r,
            n,
            o,
            s,
            i,
            B,
            a = this;
          return rA(this, function (c) {
            switch (c.label) {
              case 0:
                return this.applyEffects(A.getEffects(2)), e = A.container.styles, t = !gt(e.backgroundColor) || e.backgroundImage.length, r = [{
                  style: e.borderTopStyle,
                  color: e.borderTopColor,
                  width: e.borderTopWidth
                }, {
                  style: e.borderRightStyle,
                  color: e.borderRightColor,
                  width: e.borderRightWidth
                }, {
                  style: e.borderBottomStyle,
                  color: e.borderBottomColor,
                  width: e.borderBottomWidth
                }, {
                  style: e.borderLeftStyle,
                  color: e.borderLeftColor,
                  width: e.borderLeftWidth
                }], n = ui(si(e.backgroundClip, 0), A.curves), t || e.boxShadow.length ? (this.ctx.save(), this.path(n), this.ctx.clip(), gt(e.backgroundColor) || (this.ctx.fillStyle = ut(e.backgroundColor), this.ctx.fill()), [4, this.renderBackgroundImage(A.container)]) : [3, 2];
              case 1:
                c.sent(), this.ctx.restore(), e.boxShadow.slice(0).reverse().forEach(function (e) {
                  a.ctx.save();
                  var t,
                    r,
                    n,
                    o,
                    s,
                    i = ks(A.curves),
                    B = e.inset ? 0 : 1e4,
                    c = (t = i, r = -B + (e.inset ? 1 : -1) * e.spread.number, n = (e.inset ? 1 : -1) * e.spread.number, o = e.spread.number * (e.inset ? -2 : 2), s = e.spread.number * (e.inset ? -2 : 2), t.map(function (A, e) {
                      switch (e) {
                        case 0:
                          return A.add(r, n);
                        case 1:
                          return A.add(r + o, n);
                        case 2:
                          return A.add(r + o, n + s);
                        case 3:
                          return A.add(r, n + s);
                      }
                      return A;
                    }));
                  e.inset ? (a.path(i), a.ctx.clip(), a.mask(c)) : (a.mask(i), a.ctx.clip(), a.path(c)), a.ctx.shadowOffsetX = e.offsetX.number + B, a.ctx.shadowOffsetY = e.offsetY.number, a.ctx.shadowColor = ut(e.color), a.ctx.shadowBlur = e.blur.number, a.ctx.fillStyle = e.inset ? ut(e.color) : "rgba(0,0,0,1)", a.ctx.fill(), a.ctx.restore();
                }), c.label = 2;
              case 2:
                o = 0, s = 0, i = r, c.label = 3;
              case 3:
                return s < i.length ? 0 !== (B = i[s]).style && !gt(B.color) && B.width > 0 ? 2 !== B.style ? [3, 5] : [4, this.renderDashedDottedBorder(B.color, B.width, o, A.curves, 2)] : [3, 11] : [3, 13];
              case 4:
                return c.sent(), [3, 11];
              case 5:
                return 3 !== B.style ? [3, 7] : [4, this.renderDashedDottedBorder(B.color, B.width, o, A.curves, 3)];
              case 6:
                return c.sent(), [3, 11];
              case 7:
                return 4 !== B.style ? [3, 9] : [4, this.renderDoubleBorder(B.color, B.width, o, A.curves)];
              case 8:
                return c.sent(), [3, 11];
              case 9:
                return [4, this.renderSolidBorder(B.color, o, A.curves)];
              case 10:
                c.sent(), c.label = 11;
              case 11:
                o++, c.label = 12;
              case 12:
                return s++, [3, 3];
              case 13:
                return [2];
            }
          });
        });
      }, e.prototype.renderDashedDottedBorder = function (A, e, t, r, n) {
        return tA(this, void 0, void 0, function () {
          var o, s, i, B, a, c, l, g, u, w, Q, h, C, U, d, F;
          return rA(this, function (p) {
            return this.ctx.save(), o = function (A, e) {
              switch (e) {
                case 0:
                  return _s(A.topLeftBorderStroke, A.topRightBorderStroke);
                case 1:
                  return _s(A.topRightBorderStroke, A.bottomRightBorderStroke);
                case 2:
                  return _s(A.bottomRightBorderStroke, A.bottomLeftBorderStroke);
                default:
                  return _s(A.bottomLeftBorderStroke, A.topLeftBorderStroke);
              }
            }(r, t), s = js(r, t), 2 === n && (this.path(s), this.ctx.clip()), Os(s[0]) ? (i = s[0].start.x, B = s[0].start.y) : (i = s[0].x, B = s[0].y), Os(s[1]) ? (a = s[1].end.x, c = s[1].end.y) : (a = s[1].x, c = s[1].y), l = 0 === t || 2 === t ? Math.abs(i - a) : Math.abs(B - c), this.ctx.beginPath(), 3 === n ? this.formatPath(o) : this.formatPath(s.slice(0, 2)), g = e < 3 ? 3 * e : 2 * e, u = e < 3 ? 2 * e : e, 3 === n && (g = e, u = e), w = !0, l <= 2 * g ? w = !1 : l <= 2 * g + u ? (g *= Q = l / (2 * g + u), u *= Q) : (h = Math.floor((l + u) / (g + u)), C = (l - h * g) / (h - 1), u = (U = (l - (h + 1) * g) / h) <= 0 || Math.abs(u - C) < Math.abs(u - U) ? C : U), w && (3 === n ? this.ctx.setLineDash([0, g + u]) : this.ctx.setLineDash([g, u])), 3 === n ? (this.ctx.lineCap = "round", this.ctx.lineWidth = e) : this.ctx.lineWidth = 2 * e + 1.1, this.ctx.strokeStyle = ut(A), this.ctx.stroke(), this.ctx.setLineDash([]), 2 === n && (Os(s[0]) && (d = s[3], F = s[0], this.ctx.beginPath(), this.formatPath([new xs(d.end.x, d.end.y), new xs(F.start.x, F.start.y)]), this.ctx.stroke()), Os(s[1]) && (d = s[1], F = s[2], this.ctx.beginPath(), this.formatPath([new xs(d.end.x, d.end.y), new xs(F.start.x, F.start.y)]), this.ctx.stroke())), this.ctx.restore(), [2];
          });
        });
      }, e.prototype.render = function (A) {
        return tA(this, void 0, void 0, function () {
          var e;
          return rA(this, function (t) {
            switch (t.label) {
              case 0:
                return this.options.backgroundColor && (this.ctx.fillStyle = ut(this.options.backgroundColor), this.ctx.fillRect(this.options.x, this.options.y, this.options.width, this.options.height)), r = new Zs(A, null), n = new Ws(r), _zs(r, n, n, o = []), qs(r.container, o), e = n, [4, this.renderStack(e)];
              case 1:
                return t.sent(), this.applyEffects([]), [2, this.canvas];
            }
            var r, n, o;
          });
        });
      }, e;
    }(ci),
    gi = function gi(A) {
      return A instanceof Fo || A instanceof Uo || A instanceof Co && A.type !== wo && A.type !== uo;
    },
    ui = function ui(A, e) {
      switch (A) {
        case 0:
          return ks(e);
        case 2:
          return function (A) {
            return [A.topLeftContentBox, A.topRightContentBox, A.bottomRightContentBox, A.bottomLeftContentBox];
          }(e);
        default:
          return Rs(e);
      }
    },
    wi = function wi(A) {
      switch (A) {
        case 1:
          return "center";
        case 2:
          return "right";
        default:
          return "left";
      }
    },
    Qi = ["-apple-system", "system-ui"],
    hi = function hi(A) {
      return /iPhone OS 15_(0|1)/.test(window.navigator.userAgent) ? A.filter(function (A) {
        return -1 === Qi.indexOf(A);
      }) : A;
    },
    Ci = function (A) {
      function e(e, t) {
        var r = A.call(this, e, t) || this;
        return r.canvas = t.canvas ? t.canvas : document.createElement("canvas"), r.ctx = r.canvas.getContext("2d"), r.options = t, r.canvas.width = Math.floor(t.width * t.scale), r.canvas.height = Math.floor(t.height * t.scale), r.canvas.style.width = t.width + "px", r.canvas.style.height = t.height + "px", r.ctx.scale(r.options.scale, r.options.scale), r.ctx.translate(-t.x, -t.y), r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized (" + t.width + "x" + t.height + " at " + t.x + "," + t.y + ") with scale " + t.scale), r;
      }
      return AA(e, A), e.prototype.render = function (A) {
        return tA(this, void 0, void 0, function () {
          var e, t;
          return rA(this, function (r) {
            switch (r.label) {
              case 0:
                return e = Yn(this.options.width * this.options.scale, this.options.height * this.options.scale, this.options.scale, this.options.scale, A), [4, Ui(e)];
              case 1:
                return t = r.sent(), this.options.backgroundColor && (this.ctx.fillStyle = ut(this.options.backgroundColor), this.ctx.fillRect(0, 0, this.options.width * this.options.scale, this.options.height * this.options.scale)), this.ctx.drawImage(t, -this.options.x * this.options.scale, -this.options.y * this.options.scale), [2, this.canvas];
            }
          });
        });
      }, e;
    }(ci),
    Ui = function Ui(A) {
      return new Promise(function (e, t) {
        var r = new Image();
        r.onload = function () {
          e(r);
        }, r.onerror = t, r.src = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(new XMLSerializer().serializeToString(A));
      });
    },
    di = function () {
      function A(A) {
        var e = A.id,
          t = A.enabled;
        this.id = e, this.enabled = t, this.start = Date.now();
      }
      return A.prototype.debug = function () {
        for (var A = [], e = 0; e < arguments.length; e++) A[e] = arguments[e];
        this.enabled && ("undefined" != typeof window && window.console && "function" == typeof console.debug ? console.debug.apply(console, nA([this.id, this.getTime() + "ms"], A)) : this.info.apply(this, A));
      }, A.prototype.getTime = function () {
        return Date.now() - this.start;
      }, A.prototype.info = function () {
        for (var A = [], e = 0; e < arguments.length; e++) A[e] = arguments[e];
        this.enabled && "undefined" != typeof window && window.console && "function" == typeof console.info && console.info.apply(console, nA([this.id, this.getTime() + "ms"], A));
      }, A.prototype.warn = function () {
        for (var A = [], e = 0; e < arguments.length; e++) A[e] = arguments[e];
        this.enabled && ("undefined" != typeof window && window.console && "function" == typeof console.warn ? console.warn.apply(console, nA([this.id, this.getTime() + "ms"], A)) : this.info.apply(this, A));
      }, A.prototype.error = function () {
        for (var A = [], e = 0; e < arguments.length; e++) A[e] = arguments[e];
        this.enabled && ("undefined" != typeof window && window.console && "function" == typeof console.error ? console.error.apply(console, nA([this.id, this.getTime() + "ms"], A)) : this.info.apply(this, A));
      }, A.instances = {}, A;
    }(),
    Fi = function () {
      function A(e, t) {
        var r;
        this.windowBounds = t, this.instanceName = "#" + A.instanceCount++, this.logger = new di({
          id: this.instanceName,
          enabled: e.logging
        }), this.cache = null !== (r = e.cache) && void 0 !== r ? r : new Is(this, e);
      }
      return A.instanceCount = 1, A;
    }();
  "undefined" != typeof window && Es.setContext(window);
  var pi = function pi(A, e) {
      return tA(void 0, void 0, void 0, function () {
        var t, r, n, o, s, i, B, a, c, l, g, u, w, Q, h, C, U, d, F, p, f, H, E, I, m, y, K, b, v, S, L, D, x, T, M, O, G, P;
        return rA(this, function (k) {
          switch (k.label) {
            case 0:
              if (!A || "object" != _typeof(A)) return [2, Promise.reject("Invalid element provided as first argument")];
              if (!(t = A.ownerDocument)) throw new Error("Element is not attached to a Document");
              if (!(r = t.defaultView)) throw new Error("Document is not attached to a Window");
              return n = {
                allowTaint: null !== (H = e.allowTaint) && void 0 !== H && H,
                imageTimeout: null !== (E = e.imageTimeout) && void 0 !== E ? E : 15e3,
                proxy: e.proxy,
                useCORS: null !== (I = e.useCORS) && void 0 !== I && I
              }, o = _eA({
                logging: null === (m = e.logging) || void 0 === m || m,
                cache: e.cache
              }, n), s = {
                windowWidth: null !== (y = e.windowWidth) && void 0 !== y ? y : r.innerWidth,
                windowHeight: null !== (K = e.windowHeight) && void 0 !== K ? K : r.innerHeight,
                scrollX: null !== (b = e.scrollX) && void 0 !== b ? b : r.pageXOffset,
                scrollY: null !== (v = e.scrollY) && void 0 !== v ? v : r.pageYOffset
              }, i = new oA(s.scrollX, s.scrollY, s.windowWidth, s.windowHeight), B = new Fi(o, i), a = null !== (S = e.foreignObjectRendering) && void 0 !== S && S, c = {
                allowTaint: null !== (L = e.allowTaint) && void 0 !== L && L,
                onclone: e.onclone,
                ignoreElements: e.ignoreElements,
                inlineImages: a,
                copyStyles: a
              }, B.logger.debug("Starting document clone with size " + i.width + "x" + i.height + " scrolled to " + -i.left + "," + -i.top), l = new Bs(B, A, c), (g = l.clonedReferenceElement) ? [4, l.toIFrame(t, i)] : [2, Promise.reject("Unable to find element in cloned iframe")];
            case 1:
              return u = k.sent(), w = Mo(g) || "HTML" === g.tagName ? function (A) {
                var e = A.body,
                  t = A.documentElement;
                if (!e || !t) throw new Error("Unable to get document size");
                var r = Math.max(Math.max(e.scrollWidth, t.scrollWidth), Math.max(e.offsetWidth, t.offsetWidth), Math.max(e.clientWidth, t.clientWidth)),
                  n = Math.max(Math.max(e.scrollHeight, t.scrollHeight), Math.max(e.offsetHeight, t.offsetHeight), Math.max(e.clientHeight, t.clientHeight));
                return new oA(0, 0, r, n);
              }(g.ownerDocument) : sA(B, g), Q = w.width, h = w.height, C = w.left, U = w.top, d = fi(B, g, e.backgroundColor), F = {
                canvas: e.canvas,
                backgroundColor: d,
                scale: null !== (x = null !== (D = e.scale) && void 0 !== D ? D : r.devicePixelRatio) && void 0 !== x ? x : 1,
                x: (null !== (T = e.x) && void 0 !== T ? T : 0) + C,
                y: (null !== (M = e.y) && void 0 !== M ? M : 0) + U,
                width: null !== (O = e.width) && void 0 !== O ? O : Math.ceil(Q),
                height: null !== (G = e.height) && void 0 !== G ? G : Math.ceil(h)
              }, a ? (B.logger.debug("Document cloned, using foreign object rendering"), [4, new Ci(B, F).render(g)]) : [3, 3];
            case 2:
              return p = k.sent(), [3, 5];
            case 3:
              return B.logger.debug("Document cloned, element located at " + C + "," + U + " with size " + Q + "x" + h + " using computed rendering"), B.logger.debug("Starting DOM parsing"), f = Io(B, g), d === f.styles.backgroundColor && (f.styles.backgroundColor = pt.TRANSPARENT), B.logger.debug("Starting renderer for element at " + F.x + "," + F.y + " with size " + F.width + "x" + F.height), [4, new li(B, F).render(f)];
            case 4:
              p = k.sent(), k.label = 5;
            case 5:
              return (null === (P = e.removeContainer) || void 0 === P || P) && (Bs.destroy(u) || B.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")), B.logger.debug("Finished rendering"), [2, p];
          }
        });
      });
    },
    fi = function fi(A, e, t) {
      var r = e.ownerDocument,
        n = r.documentElement ? Ft(A, getComputedStyle(r.documentElement).backgroundColor) : pt.TRANSPARENT,
        o = r.body ? Ft(A, getComputedStyle(r.body).backgroundColor) : pt.TRANSPARENT,
        s = "string" == typeof t ? Ft(A, t) : null === t ? pt.TRANSPARENT : 4294967295;
      return e === r.documentElement ? gt(n) ? gt(o) ? s : o : n : s;
    };
  function Hi(A, e, t) {
    return !(A < t.startX || e < t.startY || A > t.startX + t.width || e > t.startY + t.height);
  }
  var Ei = /*#__PURE__*/function () {
    function Ei(A, e) {
      var _this2 = this;
      _classCallCheck(this, Ei);
      _defineProperty(this, "toolController", null);
      this.toolController = e, A.tabIndex = 9999, A.addEventListener("keydown", function (A) {
        "Escape" === A.code && _this2.triggerEvent("close"), "Enter" === A.code && _this2.triggerEvent("confirm"), (A.metaKey || A.ctrlKey) && "KeyZ" === A.code && _this2.triggerEvent("undo");
      });
    }
    return _createClass(Ei, [{
      key: "triggerEvent",
      value: function triggerEvent(A) {
        if (null != this.toolController) for (var _e7 = 0; _e7 < this.toolController.childNodes.length; _e7++) {
          var _t6 = this.toolController.childNodes[_e7];
          _t6.getAttribute("data-title") === A && _t6.click();
        }
      }
    }]);
  }();
  function Ii(A) {
    var e = [];
    return A.querySelectorAll("img").forEach(function (A) {
      var t = A.getAttribute("src");
      if (!t) return;
      if (t && t.startsWith("base64")) return;
      var r = new Promise(function (e, r) {
        var n = new Image();
        n.crossOrigin = "anonymous", n.src = "".concat(t, "&time=").concat(+new Date().getTime()), n.onload = function () {
          var t = A.width,
            r = A.height,
            o = document.createElement("canvas");
          o.width = t, o.height = r;
          o.getContext("2d").drawImage(n, 0, 0, t, r);
          var s = o === null || o === void 0 ? void 0 : o.toDataURL();
          A.setAttribute("src", s), e("转换成功");
        }, n.onerror = r, null !== t && (n.src = t);
      });
      e.push(r);
    }), Promise.all(e);
  }
  function mi(A, e) {
    if ("text" === e) A.style.cursor = "text";else A.style.cursor = "default";
  }
  return /*#__PURE__*/function () {
    function _class(_A0) {
      var _this3 = this;
      _classCallCheck(this, _class);
      _defineProperty(this, "data", void 0);
      _defineProperty(this, "videoController", void 0);
      _defineProperty(this, "screenShotContainer", void 0);
      _defineProperty(this, "screenShotDom", null);
      _defineProperty(this, "toolController", void 0);
      _defineProperty(this, "screenShotImageController", void 0);
      _defineProperty(this, "screenShotCanvas", void 0);
      _defineProperty(this, "textInputController", void 0);
      _defineProperty(this, "optionController", void 0);
      _defineProperty(this, "optionIcoController", void 0);
      _defineProperty(this, "cutBoxSizeContainer", void 0);
      _defineProperty(this, "plugInParameters", void 0);
      _defineProperty(this, "wrcReplyTime", 500);
      _defineProperty(this, "drawGraphPosition", {
        startX: 0,
        startY: 0,
        width: 0,
        height: 0
      });
      _defineProperty(this, "tempGraphPosition", {
        startX: 0,
        startY: 0,
        width: 0,
        height: 0
      });
      _defineProperty(this, "cutOutBoxBorderArr", []);
      _defineProperty(this, "borderOption", null);
      _defineProperty(this, "movePosition", {
        moveStartX: 0,
        moveStartY: 0
      });
      _defineProperty(this, "clickFlag", !1);
      _defineProperty(this, "dragFlag", !1);
      _defineProperty(this, "clickCutFullScreen", !1);
      _defineProperty(this, "getFullScreenStatus", !1);
      _defineProperty(this, "drawGraphPrevX", 0);
      _defineProperty(this, "drawGraphPrevY", 0);
      _defineProperty(this, "fontSize", 17);
      _defineProperty(this, "degreeOfBlur", 5);
      _defineProperty(this, "dpr", window.devicePixelRatio || 1);
      _defineProperty(this, "fullScreenDiffHeight", 60);
      _defineProperty(this, "position", {
        left: 0,
        top: 0
      });
      _defineProperty(this, "imgSrc", null);
      _defineProperty(this, "loadCrossImg", !1);
      _defineProperty(this, "proxyUrl", void 0);
      _defineProperty(this, "drawStatus", !1);
      _defineProperty(this, "cropBoxInfo", null);
      _defineProperty(this, "textInputPosition", {
        mouseX: 0,
        mouseY: 0
      });
      _defineProperty(this, "sendStream", function (A, e, t) {
        if (!(A instanceof MediaStream)) throw null != e && e({
          code: -1,
          msg: "视频流接入失败"
        }), _this3.data.destroyDOM(), "视频流接入失败";
        return _this3.videoController.srcObject = A, _this3.loadScreenFlowData(t), A;
      });
      _defineProperty(this, "startCapture", /*#__PURE__*/function () {
        var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(A) {
          var e, _t7;
          return _regeneratorRuntime().wrap(function (_context) {
            while (1) switch (_context.prev = _context.next) {
              case 0:
                e = null;
                _context.prev = 1;
                _context.next = 2;
                return navigator.mediaDevices.getDisplayMedia({
                  audio: !1,
                  video: {
                    width: _this3.screenShotImageController.width * _this3.dpr,
                    height: _this3.screenShotImageController.height * _this3.dpr
                  },
                  preferCurrentTab: !0
                });
              case 2:
                e = _context.sent;
                _this3.videoController.srcObject = e;
                _context.next = 4;
                break;
              case 3:
                _context.prev = 3;
                _t7 = _context["catch"](1);
                throw null != A && A({
                  code: -1,
                  msg: "浏览器不支持webrtc或者用户未授权"
                }), _this3.data.destroyDOM(), "\u6D4F\u89C8\u5668\u4E0D\u652F\u6301webrtc\u6216\u8005\u7528\u6237\u672A\u6388\u6743( ".concat(_t7, " )");
              case 4:
                return _context.abrupt("return", e);
              case 5:
              case "end":
                return _context.stop();
            }
          }, _callee, null, [[1, 3]]);
        }));
        return function (_x) {
          return _ref.apply(this, arguments);
        };
      }());
      _defineProperty(this, "stopCapture", function () {
        var A = _this3.videoController.srcObject;
        if (A && "getTracks" in A) {
          A.getTracks().forEach(function (A) {
            return A.stop();
          }), _this3.videoController.srcObject = null;
        }
      });
      _defineProperty(this, "screenShot", function (A, e) {
        _this3.startCapture(A).then(function () {
          _this3.loadScreenFlowData(e);
        });
      });
      _defineProperty(this, "mouseDownEvent", function (A) {
        if ("undo" == _this3.data.getToolName()) return;
        _this3.data.setDragging(!0), _this3.drawStatus = !1, _this3.data.setToolPositionStatus(!1), _this3.clickFlag = !0;
        var e = z(A.offsetX),
          t = z(A.offsetY);
        if (_this3.data.getToolClickStatus() && (_this3.drawGraphPosition.startX = e, _this3.drawGraphPosition.startY = t), "brush" == _this3.data.getToolName() && _this3.screenShotCanvas && function (A, e, t) {
          A.beginPath(), A.moveTo(e, t);
        }(_this3.screenShotCanvas, e, t), "text" == _this3.data.getToolName() && _this3.textInputController && _this3.screenShotContainer && _this3.screenShotCanvas) {
          _this3.data.setTextStatus(!0), 0 != _this3.textInputPosition.mouseX && 0 != _this3.textInputPosition.mouseY && _this3.textInputPosition.mouseX != e && _this3.textInputPosition.mouseY != t && (R(_this3.textInputController.innerText, _this3.textInputPosition.mouseX, _this3.textInputPosition.mouseY, _this3.data.getSelectedColor(), _this3.fontSize, _this3.screenShotCanvas), "" !== _this3.textInputController.innerText && _this3.data.setTextStatus(!1), _this3.textInputController.innerHTML = "", V());
          var _A1 = e + _this3.position.left;
          _this3.textInputController.style.left = _A1 + "px", _this3.textInputController.style.fontSize = _this3.fontSize + "px", _this3.textInputController.style.color = _this3.data.getSelectedColor(), setTimeout(function () {
            if (_this3.textInputController) {
              var _A10 = _this3.textInputController.offsetHeight,
                _r6 = t - Math.floor(_A10 / 2) + _this3.position.top;
              _this3.textInputController.style.top = _r6 + "px", _this3.textInputController.focus(), _this3.textInputPosition = {
                mouseX: e,
                mouseY: t
              }, _this3.data.setTextInfo({
                positionX: e,
                positionY: t,
                color: _this3.data.getSelectedColor(),
                size: _this3.fontSize
              });
            }
          });
        }
        _this3.borderOption ? (_this3.data.setDraggingTrim(!0), _this3.movePosition.moveStartX = e, _this3.movePosition.moveStartY = t) : (_this3.drawGraphPrevX = _this3.drawGraphPosition.startX, _this3.drawGraphPrevY = _this3.drawGraphPosition.startY, _this3.drawGraphPosition.startX = e, _this3.drawGraphPosition.startY = t);
      });
      _defineProperty(this, "mouseMoveEvent", function (A) {
        if (null == _this3.screenShotCanvas || null == _this3.screenShotContainer || "undo" == _this3.data.getToolName()) return;
        !_this3.data.getToolClickStatus() && _this3.data.getDragging() && (_this3.dragFlag = !0, _this3.data.setToolStatus(!1), _this3.data.setCutBoxSizeStatus(!1)), _this3.clickFlag = !1;
        var _this3$drawGraphPosit = _this3.drawGraphPosition,
          e = _this3$drawGraphPosit.startX,
          t = _this3$drawGraphPosit.startY,
          r = _this3$drawGraphPosit.width,
          n = _this3$drawGraphPosit.height,
          o = z(A.offsetX),
          s = z(A.offsetY),
          i = o - e,
          B = s - t;
        if (_this3.data.getToolClickStatus() && _this3.data.getDragging()) {
          var _A11 = _this3.data.getCutOutBoxPosition();
          if (!Hi(e, t, _A11) || !Hi(o, s, _A11)) return;
          switch ("mosaicPen" != _this3.data.getToolName() && (_this3.showLastHistory(), _this3.drawStatus = !0), _this3.data.getToolName()) {
            case "square":
              !function (A, e, t, r, n, o, s) {
                s.save(), s.strokeStyle = n, s.lineWidth = o, s.beginPath(), s.rect(A, e, t, r), s.stroke(), s.restore();
              }(e, t, i, B, _this3.data.getSelectedColor(), _this3.data.getPenSize(), _this3.screenShotCanvas);
              break;
            case "round":
              !function (A, e, t, r, n, o, s) {
                var i = e < r ? e : r,
                  B = t < n ? t : n,
                  a = .5 * ((e >= r ? e : r) - i),
                  c = .5 * ((t >= n ? t : n) - B),
                  l = i + a,
                  g = B + c;
                if (A.save(), A.beginPath(), A.lineWidth = o, A.strokeStyle = s, "function" != typeof A.ellipse) throw "你的浏览器不支持ellipse，无法绘制椭圆";
                A.ellipse(l, g, a, c, 0, 0, 2 * Math.PI), A.stroke(), A.closePath(), A.restore();
              }(_this3.screenShotCanvas, o, s, e, t, _this3.data.getPenSize(), _this3.data.getSelectedColor());
              break;
            case "right-top":
              !function (A, e, t, r, n, o, s, i, B) {
                var a = 180 * Math.atan2(t - n, e - r) / Math.PI,
                  c = (a + o) * Math.PI / 180,
                  l = (a - o) * Math.PI / 180,
                  g = s * Math.cos(c),
                  u = s * Math.sin(c),
                  w = s * Math.cos(l),
                  Q = s * Math.sin(l);
                A.save(), A.beginPath();
                var h = e - g,
                  C = t - u;
                A.moveTo(h, C), A.moveTo(e, t), A.lineTo(r, n), h = r + g, C = n + u, A.moveTo(h, C), A.lineTo(r, n), h = r + w, C = n + Q, A.lineTo(h, C), A.strokeStyle = B, A.lineWidth = i, A.stroke(), A.restore();
              }(_this3.screenShotCanvas, e, t, o, s, 30, 10, _this3.data.getPenSize(), _this3.data.getSelectedColor());
              break;
            case "brush":
              !function (A, e, t, r, n) {
                A.save(), A.lineWidth = r, A.strokeStyle = n, A.lineTo(e, t), A.stroke(), A.restore();
              }(_this3.screenShotCanvas, o, s, _this3.data.getPenSize(), _this3.data.getSelectedColor());
              break;
            case "mosaicPen":
              !function (A, e, t, r, n) {
                var o = window.devicePixelRatio || 1,
                  s = n.getImageData(A * o, e * o, t * o, t * o),
                  i = s.width / r,
                  B = s.height / r;
                for (var _A12 = 0; _A12 < B; _A12++) for (var _e8 = 0; _e8 < i; _e8++) {
                  var _t8 = q(s, _e8 * r + Math.floor(Math.random() * r), _A12 * r + Math.floor(Math.random() * r));
                  for (var _n3 = 0; _n3 < r; _n3++) for (var _o2 = 0; _o2 < r; _o2++) j(s, _e8 * r + _o2, _A12 * r + _n3, _t8);
                }
                n.putImageData(s, A * o, e * o);
              }(o - 10, s - 10, _this3.data.getPenSize(), _this3.degreeOfBlur, _this3.screenShotCanvas);
          }
        } else _this3.operatingCutOutBox(o, s, e, t, r, n, _this3.screenShotCanvas), _this3.data.getDragging() && !_this3.data.getDraggingTrim() && (_this3.tempGraphPosition = k(e, t, i, B, _this3.screenShotCanvas, _this3.data.getBorderSize(), _this3.screenShotContainer, _this3.screenShotImageController));
      });
      _defineProperty(this, "mouseUpEvent", function () {
        if ("undo" == _this3.data.getToolName()) return;
        if (_this3.data.setDragging(!1), _this3.data.setDraggingTrim(!1), null == _this3.screenShotCanvas || null == _this3.screenShotContainer) return;
        if (!_this3.data.getToolClickStatus() && !_this3.dragFlag && !_this3.clickCutFullScreen) return _this3.drawGraphPosition.startX = _this3.drawGraphPrevX, void (_this3.drawGraphPosition.startY = _this3.drawGraphPrevY);
        var A = _this3.data.getCutOutBoxPosition();
        if (0 === A.width && 0 === A.height && 0 === A.startX && 0 === A.startY && !_this3.dragFlag && _this3.clickCutFullScreen) {
          var _A13 = _this3.data.getBorderSize();
          _this3.getFullScreenStatus = !0, _this3.tempGraphPosition = k(0, 0, _this3.screenShotContainer.width - _A13 / 2, _this3.screenShotContainer.height - _A13 / 2, _this3.screenShotCanvas, _A13, _this3.screenShotContainer, _this3.screenShotImageController);
        }
        if (null != _this3.screenShotContainer && null != _this3.screenShotCanvas) if (_this3.data.getToolClickStatus() && _this3.drawStatus) V();else if (!_this3.data.getToolClickStatus() || _this3.drawStatus) {
          if (_this3.drawGraphPosition = _this3.tempGraphPosition, !_this3.data.getToolClickStatus()) {
            var _this3$drawGraphPosit2 = _this3.drawGraphPosition,
              _A14 = _this3$drawGraphPosit2.startX,
              _e9 = _this3$drawGraphPosit2.startY,
              _t9 = _this3$drawGraphPosit2.width,
              _r7 = _this3$drawGraphPosit2.height;
            _this3.data.setCutOutBoxPosition(_A14, _e9, _t9, _r7);
          }
          _this3.cutOutBoxBorderArr = _(_this3.data.getBorderSize(), _this3.drawGraphPosition), null != _this3.screenShotContainer && _this3.dragFlag && (_this3.screenShotContainer.style.cursor = "move", _this3.data.setToolStatus(!0), _this3.data.setCutBoxSizeStatus(!0), _this3.dragFlag = !1, null != _this3.toolController && _this3.showToolBar());
        }
      });
      this.plugInParameters = new l(), function (A) {
        var e = new l();
        !1 === (A === null || A === void 0 ? void 0 : A.enableWebRtc) && (e.setWebRtcStatus(!1), e.setInitStatus(!1)), (A === null || A === void 0 ? void 0 : A.screenFlow) instanceof MediaStream && e.setScreenFlow(A.screenFlow), A !== null && A !== void 0 && A.canvasWidth && A !== null && A !== void 0 && A.canvasHeight && e.setCanvasSize(A.canvasWidth, A.canvasHeight), !0 === (A === null || A === void 0 ? void 0 : A.showScreenData) && e.setShowScreenDataStatus(!0), (A === null || A === void 0 ? void 0 : A.maskColor) && "object" == _typeof(A.maskColor) && e.setMaskColor(A.maskColor);
      }(_A0), new W(_A0), this.videoController = document.createElement("video"), this.videoController.autoplay = !0, this.screenShotImageController = document.createElement("canvas"), this.data = new O(), this.setOptionalParameter(_A0), this.setGlobalParameter(), this.data.setNoScrollStatus(_A0 === null || _A0 === void 0 ? void 0 : _A0.noScroll), this.load(_A0 === null || _A0 === void 0 ? void 0 : _A0.triggerCallback, _A0 === null || _A0 === void 0 ? void 0 : _A0.cancelCallback), null != this.toolController && null != this.screenShotContainer && null != this.textInputController && (_A0 !== null && _A0 !== void 0 && _A0.level && this.adjustContainerLevels(_A0.level), _A0 !== null && _A0 !== void 0 && _A0.wrcReplyTime && (this.wrcReplyTime = _A0.wrcReplyTime), new Ei(this.screenShotContainer, this.toolController), this.registerContainerShortcuts(this.textInputController));
    }
    return _createClass(_class, [{
      key: "getCanvasController",
      value: function getCanvasController() {
        return this.screenShotContainer;
      }
    }, {
      key: "destroyComponents",
      value: function destroyComponents() {
        this.data.destroyDOM(), this.data.setInitStatus(!0);
      }
    }, {
      key: "load",
      value: function load(A, e) {
        var _this4 = this;
        var t = this.plugInParameters.getCanvasSize(),
          r = {
            width: parseFloat(window.getComputedStyle(document.body).width),
            height: parseFloat(window.getComputedStyle(document.body).height)
          };
        if (this.data.setScreenShotInfo(r.width, r.height), this.data.setScreenShotPosition(this.position.left, this.position.top), this.screenShotImageController.width = r.width, this.screenShotImageController.height = r.height, 0 !== t.canvasWidth && 0 !== t.canvasHeight && (this.data.setScreenShotInfo(t.canvasWidth, t.canvasHeight), this.screenShotImageController.width = t.canvasWidth, this.screenShotImageController.height = t.canvasHeight), null == this.screenShotContainer) return;
        var n = G(this.screenShotContainer, this.screenShotImageController.width, this.screenShotImageController.height);
        if (null != n) {
          if (this.data.showScreenShotPanel(), !this.plugInParameters.getWebRtcStatus()) return null != this.imgSrc ? void this.drawPictures(A, n, this.imgSrc) : void (o = this.screenShotDom ? this.screenShotDom : document.body, s = {
            onclone: this.loadCrossImg ? Ii : void 0,
            proxy: this.proxyUrl
          }, void 0 === s && (s = {}), pi(o, s)).then(function (e) {
            null != _this4.screenShotContainer && (_this4.screenShotImageController = e, _this4.initScreenShot(A, n, e));
          }).catch(function (e) {
            null != A && A({
              code: -1,
              msg: e
            });
          });
          var o, s;
          this.plugInParameters.getScreenFlow() ? this.sendStream(this.plugInParameters.getScreenFlow(), e, A) : this.screenShot(e, A);
        }
      }
    }, {
      key: "loadScreenFlowData",
      value: function loadScreenFlowData(A) {
        var _this5 = this;
        setTimeout(function () {
          var _this5$screenShotImag, _this5$screenShotImag2;
          if (null == _this5.screenShotContainer) return;
          var e = _this5.plugInParameters.getCanvasSize();
          var t = (_this5$screenShotImag = _this5.screenShotImageController) === null || _this5$screenShotImag === void 0 ? void 0 : _this5$screenShotImag.width,
            r = (_this5$screenShotImag2 = _this5.screenShotImageController) === null || _this5$screenShotImag2 === void 0 ? void 0 : _this5$screenShotImag2.height;
          0 !== e.canvasWidth && 0 !== e.canvasHeight && (t = e.canvasWidth, r = e.canvasHeight);
          var n = G(_this5.screenShotContainer, t, r);
          if (null == n) return;
          _this5.screenShotCanvas = n;
          var o = G(_this5.screenShotImageController, t, r),
            _this5$videoControlle = _this5.videoController,
            s = _this5$videoControlle.videoWidth,
            i = _this5$videoControlle.videoHeight;
          var B = t,
            a = i * t / s;
          a > r && (B = t * r / a, a = r), o !== null && o !== void 0 && o.drawImage(_this5.videoController, 0, 0, B, a), _this5.initScreenShot(void 0, n, _this5.screenShotImageController), A && A({
            code: 0,
            msg: "截图加载完成"
          }), _this5.stopCapture();
        }, this.wrcReplyTime);
      }
    }, {
      key: "adjustContainerLevels",
      value: function adjustContainerLevels(A) {
        null != this.screenShotContainer && null != this.toolController && null != this.textInputController && null != this.optionIcoController && null != this.optionController && null != this.cutBoxSizeContainer && (this.screenShotContainer.style.zIndex = "".concat(A), this.toolController.style.zIndex = "".concat(A + 1), this.textInputController.style.zIndex = "".concat(A + 1), this.optionIcoController.style.zIndex = "".concat(A + 1), this.optionController.style.zIndex = "".concat(A + 1), this.cutBoxSizeContainer.style.zIndex = "".concat(A + 1));
      }
    }, {
      key: "initCropBox",
      value: function initCropBox(A) {
        var e = A.x,
          t = A.y,
          r = A.w,
          n = A.h;
        null != this.screenShotContainer && (this.drawGraphPosition = {
          startX: e,
          startY: t,
          width: r,
          height: n
        }, this.data.setCutOutBoxPosition(e, t, r, n), k(e, t, r, n, this.screenShotCanvas, this.data.getBorderSize(), this.screenShotContainer, this.screenShotImageController), this.cutOutBoxBorderArr = _(this.data.getBorderSize(), this.drawGraphPosition), this.screenShotContainer.style.cursor = "move", this.data.setToolStatus(!0), this.data.setCutBoxSizeStatus(!0), null != this.toolController && this.showToolBar());
      }
    }, {
      key: "registerContainerShortcuts",
      value: function registerContainerShortcuts(A) {
        var _this6 = this;
        A.addEventListener("keydown", function (e) {
          if (null != _this6.screenShotCanvas && ((e.metaKey || e.ctrlKey) && "Enter" === e.code || "Escape" === e.code)) {
            var _e0 = A.innerText;
            if (!_e0 || "" === _e0) return void _this6.data.setTextStatus(!1);
            R(_e0, _this6.textInputPosition.mouseX, _this6.textInputPosition.mouseY, _this6.data.getSelectedColor(), _this6.fontSize, _this6.screenShotCanvas), A.innerHTML = "", _this6.data.setTextStatus(!1), V();
          }
        });
      }
    }, {
      key: "showToolBar",
      value: function showToolBar() {
        if (null == this.toolController || null == this.screenShotContainer) return;
        var A = function (A, e) {
            var t = (A.width - e) / 2 + A.startX;
            t < 0 && (t = 0);
            var r = A.startY + A.height + 10;
            return (A.width < 0 && A.height < 0 || A.width > 0 && A.height < 0) && (r = A.startY + 10), {
              mouseX: t,
              mouseY: r
            };
          }(this.drawGraphPosition, this.toolController.offsetWidth),
          e = this.screenShotContainer.height / this.dpr;
        if (A.mouseY > e - 64 && (A.mouseY -= this.drawGraphPosition.height + 64, A.mouseY < 0 && (A.mouseY += 64), this.data.setToolPositionStatus(!0), this.data.setCutBoxSizeStatus(!1)), this.getFullScreenStatus) {
          var _e1 = parseInt(this.screenShotContainer.style.height),
            _t0 = (this.drawGraphPosition.width / this.dpr - this.toolController.offsetWidth) / 2;
          A.mouseY = _e1 - this.fullScreenDiffHeight, A.mouseX = _t0;
        }
        this.data.setToolInfo(A.mouseX + this.position.left, A.mouseY + this.position.top), this.data.setCutBoxSizePosition(this.drawGraphPosition.startX, this.drawGraphPosition.startY - 35), this.data.setCutBoxSize(this.drawGraphPosition.width, this.drawGraphPosition.height), this.getFullScreenStatus = !1;
      }
    }, {
      key: "setGlobalParameter",
      value: function setGlobalParameter() {
        this.screenShotContainer = this.data.getScreenShotContainer(), this.toolController = this.data.getToolController(), this.textInputController = this.data.getTextInputController(), this.optionController = this.data.getOptionController(), this.optionIcoController = this.data.getOptionIcoController(), this.cutBoxSizeContainer = this.data.getCutBoxSizeContainer();
      }
    }, {
      key: "setOptionalParameter",
      value: function setOptionalParameter(A) {
        var _A$position, _A$position2;
        !0 === (A === null || A === void 0 ? void 0 : A.clickCutFullScreen) && (this.clickCutFullScreen = !0), null != (A === null || A === void 0 ? void 0 : A.imgSrc) && (this.imgSrc = A.imgSrc), !0 === (A === null || A === void 0 ? void 0 : A.loadCrossImg) && (this.loadCrossImg = !0), A !== null && A !== void 0 && A.proxyUrl && (console.log("有地址", A.proxyUrl), this.proxyUrl = A.proxyUrl), null != (A === null || A === void 0 ? void 0 : A.position) && (null != ((_A$position = A.position) === null || _A$position === void 0 ? void 0 : _A$position.top) && (this.position.top = A.position.top), null != ((_A$position2 = A.position) === null || _A$position2 === void 0 ? void 0 : _A$position2.left) && (this.position.left = A.position.left)), A !== null && A !== void 0 && A.screenShotDom && (this.screenShotDom = A.screenShotDom), (A === null || A === void 0 ? void 0 : A.cropBoxInfo) && (this.cropBoxInfo = A.cropBoxInfo);
      }
    }, {
      key: "operatingCutOutBox",
      value: function operatingCutOutBox(A, e, t, r, n, o, s) {
        if (null == this.screenShotContainer) return;
        var _this$movePosition = this.movePosition,
          i = _this$movePosition.moveStartX,
          B = _this$movePosition.moveStartY;
        if (this.cutOutBoxBorderArr.length > 0 && !this.data.getDraggingTrim()) {
          var _t1 = !1;
          s.beginPath();
          for (var _r8 = 0; _r8 < this.cutOutBoxBorderArr.length; _r8++) if (s.rect(this.cutOutBoxBorderArr[_r8].x, this.cutOutBoxBorderArr[_r8].y, this.cutOutBoxBorderArr[_r8].width, this.cutOutBoxBorderArr[_r8].height), s.isPointInPath(A * this.dpr, e * this.dpr)) {
            switch (this.cutOutBoxBorderArr[_r8].index) {
              case 1:
                this.data.getToolClickStatus() ? mi(this.screenShotContainer, this.data.getActiveToolName()) : this.screenShotContainer.style.cursor = "move";
                break;
              case 2:
                if (this.data.getToolClickStatus()) break;
                this.screenShotContainer.style.cursor = "ns-resize";
                break;
              case 3:
                if (this.data.getToolClickStatus()) break;
                this.screenShotContainer.style.cursor = "ew-resize";
                break;
              case 4:
                if (this.data.getToolClickStatus()) break;
                this.screenShotContainer.style.cursor = "nwse-resize";
                break;
              case 5:
                if (this.data.getToolClickStatus()) break;
                this.screenShotContainer.style.cursor = "nesw-resize";
            }
            this.borderOption = this.cutOutBoxBorderArr[_r8].option, _t1 = !0;
            break;
          }
          s.closePath(), _t1 || (this.screenShotContainer.style.cursor = "default", this.borderOption = null);
        }
        if (this.data.getDraggingTrim()) if (1 === this.borderOption) {
          var _a = Z(A - (i - t), n, this.screenShotContainer.width),
            _c = Z(e - (B - r), o, this.screenShotContainer.height);
          this.tempGraphPosition = k(_a, _c, n, o, s, this.data.getBorderSize(), this.screenShotContainer, this.screenShotImageController);
        } else {
          var _ref2 = function (A, e, t, r, n, o, s) {
              var i,
                B,
                a,
                c = 0;
              switch (s) {
                case 2:
                  return B = e - (r + o) > 0 ? r + o : e, c = z(o - (e - r)), {
                    tempStartX: t,
                    tempStartY: B,
                    tempWidth: n,
                    tempHeight: c
                  };
                case 3:
                  return c = z(e - r), {
                    tempStartX: t,
                    tempStartY: r,
                    tempWidth: n,
                    tempHeight: c
                  };
                case 4:
                  return i = A - (t + n) > 0 ? t + n : A, a = z(n - (A - t)), {
                    tempStartX: i,
                    tempStartY: r,
                    tempWidth: a,
                    tempHeight: o
                  };
                case 5:
                  return a = z(A - t), {
                    tempStartX: t,
                    tempStartY: r,
                    tempWidth: a,
                    tempHeight: o
                  };
                case 6:
                  return i = A - (t + n) > 0 ? t + n : A, B = e - (r + o) > 0 ? r + o : e, a = z(n - (A - t)), c = z(o - (e - r)), {
                    tempStartX: i,
                    tempStartY: B,
                    tempWidth: a,
                    tempHeight: c
                  };
                case 7:
                  return a = z(A - t), c = z(e - r), {
                    tempStartX: t,
                    tempStartY: r,
                    tempWidth: a,
                    tempHeight: c
                  };
                case 8:
                  return B = e - (r + o) > 0 ? r + o : e, a = z(A - t), c = z(o - (e - r)), {
                    tempStartX: t,
                    tempStartY: B,
                    tempWidth: a,
                    tempHeight: c
                  };
                case 9:
                  return i = A - (t + n) > 0 ? t + n : A, a = z(n - (A - t)), c = z(e - r), {
                    tempStartX: i,
                    tempStartY: r,
                    tempWidth: a,
                    tempHeight: c
                  };
              }
            }(A, e, t, r, n, o, this.borderOption),
            _i = _ref2.tempStartX,
            _B = _ref2.tempStartY,
            _a2 = _ref2.tempWidth,
            _c2 = _ref2.tempHeight;
          this.tempGraphPosition = k(_i, _B, _a2, _c2, s, this.data.getBorderSize(), this.screenShotContainer, this.screenShotImageController);
        }
      }
    }, {
      key: "showLastHistory",
      value: function showLastHistory() {
        if (null != this.screenShotCanvas) {
          var _A15 = this.screenShotCanvas;
          this.data.getHistory().length <= 0 && V(), _A15.putImageData(this.data.getHistory()[this.data.getHistory().length - 1].data, 0, 0);
        }
      }
    }, {
      key: "drawPictures",
      value: function drawPictures(A, e, t) {
        var _this7 = this;
        var r = new Image();
        r.src = t, r.crossOrigin = "Anonymous", r.onload = function () {
          var _this7$screenShotImag;
          null != _this7.screenShotContainer && ((_this7$screenShotImag = _this7.screenShotImageController.getContext("2d")) !== null && _this7$screenShotImag !== void 0 && _this7$screenShotImag.drawImage(r, 0, 0, _this7.screenShotImageController.width, _this7.screenShotImageController.height), _this7.initScreenShot(A, e, _this7.screenShotImageController));
        };
      }
    }, {
      key: "initScreenShot",
      value: function initScreenShot(A, e, t) {
        var _this$screenShotConta, _this$screenShotConta2, _this$screenShotConta3;
        null != A && A({
          code: 0,
          msg: "截图加载完成"
        }), this.screenShotCanvas = e, this.data.setScreenShotImageController(t), function (A, e) {
          var t = new l(),
            r = new l(),
            n = r.getCanvasSize(),
            o = {
              width: parseFloat(window.getComputedStyle(document.body).width),
              height: parseFloat(window.getComputedStyle(document.body).height)
            },
            s = Math.max(o.width || 0, Math.max(document.body.scrollWidth, document.documentElement.scrollWidth), Math.max(document.body.offsetWidth, document.documentElement.offsetWidth), Math.max(document.body.clientWidth, document.documentElement.clientWidth)),
            i = Math.max(o.height || 0, Math.max(document.body.scrollHeight, document.documentElement.scrollHeight), Math.max(document.body.offsetHeight, document.documentElement.offsetHeight), Math.max(document.body.clientHeight, document.documentElement.clientHeight));
          A.clearRect(0, 0, s, i), null != e && r.getShowScreenDataStatus() && (0 !== n.canvasWidth && 0 !== n.canvasHeight ? A.drawImage(e, 0, 0, n.canvasWidth, n.canvasHeight) : A.drawImage(e, 0, 0, s, i)), A.save();
          var B = t.getMaskColor();
          A.fillStyle = "rgba(0, 0, 0, .6)", B && (A.fillStyle = "rgba(".concat(B.r, ", ").concat(B.g, ", ").concat(B.b, ", ").concat(B.a, ")")), 0 !== n.canvasWidth && 0 !== n.canvasHeight ? A.fillRect(0, 0, n.canvasWidth, n.canvasHeight) : A.fillRect(0, 0, s, i), A.restore();
        }(e, t), (_this$screenShotConta = this.screenShotContainer) !== null && _this$screenShotConta !== void 0 && _this$screenShotConta.addEventListener("mousedown", this.mouseDownEvent), (_this$screenShotConta2 = this.screenShotContainer) !== null && _this$screenShotConta2 !== void 0 && _this$screenShotConta2.addEventListener("mousemove", this.mouseMoveEvent), (_this$screenShotConta3 = this.screenShotContainer) !== null && _this$screenShotConta3 !== void 0 && _this$screenShotConta3.addEventListener("mouseup", this.mouseUpEvent), null != this.cropBoxInfo && 4 == Object.keys(this.cropBoxInfo).length && this.initCropBox(this.cropBoxInfo);
      }
    }]);
  }();
});

/***/ }),

/***/ "c973":
/***/ (function(module, exports) {

function asyncGeneratorStep(n, t, e, r, o, a, c) {
  try {
    var i = n[a](c),
      u = i.value;
  } catch (n) {
    return void e(n);
  }
  i.done ? t(u) : Promise.resolve(u).then(r, o);
}
function _asyncToGenerator(n) {
  return function () {
    var t = this,
      e = arguments;
    return new Promise(function (r, o) {
      var a = n.apply(t, e);
      function _next(n) {
        asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
      }
      function _throw(n) {
        asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
      }
      _next(void 0);
    });
  };
}
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "caec":
/***/ (function(module, exports) {

module.exports = ""

/***/ }),

/***/ "d28b":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var defineWellKnownSymbol = __webpack_require__("e065");

// `Symbol.iterator` well-known symbol
// https://tc39.es/ecma262/#sec-symbol.iterator
defineWellKnownSymbol('iterator');


/***/ }),

/***/ "dd37":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "e071":
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

/***/ "e50d":
/***/ (function(module, exports, __webpack_require__) {

var _typeof = __webpack_require__("7037")["default"];
function toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;

/***/ }),

/***/ "e6e1":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");

// `Number.MIN_SAFE_INTEGER` constant
// https://tc39.es/ecma262/#sec-number.min_safe_integer
$({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, {
  MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF
});


/***/ }),

/***/ "e722":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_person_vue_vue_type_style_index_1_id_72099da8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5a0a");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_person_vue_vue_type_style_index_1_id_72099da8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_person_vue_vue_type_style_index_1_id_72099da8_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "edde":
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__.p + "img/position.11f69c91.png";

/***/ }),

/***/ "f64c":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/extends.js
var helpers_extends = __webpack_require__("41b2");
var extends_default = /*#__PURE__*/__webpack_require__.n(helpers_extends);

// EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/objectWithoutProperties.js
var objectWithoutProperties = __webpack_require__("8e8e");
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);

// EXTERNAL MODULE: ./node_modules/babel-runtime/helpers/defineProperty.js
var defineProperty = __webpack_require__("6042");
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty);

// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm.js
var vue_esm = __webpack_require__("a026");

// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/vue-types/index.js + 1 modules
var vue_types = __webpack_require__("4d91");

// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/props-util.js
var props_util = __webpack_require__("daa3");

// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/BaseMixin.js
var BaseMixin = __webpack_require__("b488");

// CONCATENATED MODULE: ./node_modules/ant-design-vue/es/_util/createChainedFunction.js
/**
 * Safe chained function
 *
 * Will only create a new function if needed,
 * otherwise will pass back existing functions or null.
 *
 * @returns {function|null}
 */
function createChainedFunction() {
  var args = [].slice.call(arguments, 0);
  if (args.length === 1) {
    return args[0];
  }

  return function chainedFunction() {
    for (var i = 0; i < args.length; i++) {
      if (args[i] && args[i].apply) {
        args[i].apply(this, arguments);
      }
    }
  };
}
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/_util/getTransitionProps.js
var getTransitionProps = __webpack_require__("94eb");

// CONCATENATED MODULE: ./node_modules/ant-design-vue/es/vc-notification/Notice.js





function noop() {}

/* harmony default export */ var Notice = ({
  mixins: [BaseMixin["a" /* default */]],
  props: {
    duration: vue_types["a" /* default */].number.def(1.5),
    closable: vue_types["a" /* default */].bool,
    prefixCls: vue_types["a" /* default */].string,
    update: vue_types["a" /* default */].bool,
    closeIcon: vue_types["a" /* default */].any
  },
  watch: {
    duration: function duration() {
      this.restartCloseTimer();
    }
  },

  mounted: function mounted() {
    this.startCloseTimer();
  },
  updated: function updated() {
    if (this.update) {
      this.restartCloseTimer();
    }
  },
  beforeDestroy: function beforeDestroy() {
    this.clearCloseTimer();
    this.willDestroy = true; // beforeDestroy调用后依然会触发onMouseleave事件
  },

  methods: {
    close: function close(e) {
      if (e) {
        e.stopPropagation();
      }
      this.clearCloseTimer();
      this.__emit('close');
    },
    startCloseTimer: function startCloseTimer() {
      var _this = this;

      this.clearCloseTimer();
      if (!this.willDestroy && this.duration) {
        this.closeTimer = setTimeout(function () {
          _this.close();
        }, this.duration * 1000);
      }
    },
    clearCloseTimer: function clearCloseTimer() {
      if (this.closeTimer) {
        clearTimeout(this.closeTimer);
        this.closeTimer = null;
      }
    },
    restartCloseTimer: function restartCloseTimer() {
      this.clearCloseTimer();
      this.startCloseTimer();
    }
  },

  render: function render() {
    var _className;

    var h = arguments[0];
    var prefixCls = this.prefixCls,
        closable = this.closable,
        clearCloseTimer = this.clearCloseTimer,
        startCloseTimer = this.startCloseTimer,
        $slots = this.$slots,
        close = this.close;

    var componentClass = prefixCls + '-notice';
    var className = (_className = {}, defineProperty_default()(_className, '' + componentClass, 1), defineProperty_default()(_className, componentClass + '-closable', closable), _className);
    var style = Object(props_util["p" /* getStyle */])(this);
    var closeIcon = Object(props_util["f" /* getComponentFromProp */])(this, 'closeIcon');
    return h(
      'div',
      {
        'class': className,
        style: style || { right: '50%' },
        on: {
          'mouseenter': clearCloseTimer,
          'mouseleave': startCloseTimer,
          'click': Object(props_util["j" /* getListeners */])(this).click || noop
        }
      },
      [h(
        'div',
        { 'class': componentClass + '-content' },
        [$slots['default']]
      ), closable ? h(
        'a',
        {
          attrs: { tabIndex: '0' },
          on: {
            'click': close
          },
          'class': componentClass + '-close' },
        [closeIcon || h('span', { 'class': componentClass + '-close-x' })]
      ) : null]
    );
  }
});
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/base/index.js + 3 modules
var base = __webpack_require__("db14");

// CONCATENATED MODULE: ./node_modules/ant-design-vue/es/vc-notification/Notification.js











function Notification_noop() {}

var seed = 0;
var now = Date.now();

function getUuid() {
  return 'rcNotification_' + now + '_' + seed++;
}

var Notification = {
  mixins: [BaseMixin["a" /* default */]],
  props: {
    prefixCls: vue_types["a" /* default */].string.def('rc-notification'),
    transitionName: vue_types["a" /* default */].string,
    animation: vue_types["a" /* default */].oneOfType([vue_types["a" /* default */].string, vue_types["a" /* default */].object]).def('fade'),
    maxCount: vue_types["a" /* default */].number,
    closeIcon: vue_types["a" /* default */].any
  },
  data: function data() {
    return {
      notices: []
    };
  },

  methods: {
    getTransitionName: function getTransitionName() {
      var props = this.$props;
      var transitionName = props.transitionName;
      if (!transitionName && props.animation) {
        transitionName = props.prefixCls + '-' + props.animation;
      }
      return transitionName;
    },
    add: function add(notice) {
      var key = notice.key = notice.key || getUuid();
      var maxCount = this.$props.maxCount;

      this.setState(function (previousState) {
        var notices = previousState.notices;
        var noticeIndex = notices.map(function (v) {
          return v.key;
        }).indexOf(key);
        var updatedNotices = notices.concat();
        if (noticeIndex !== -1) {
          updatedNotices.splice(noticeIndex, 1, notice);
        } else {
          if (maxCount && notices.length >= maxCount) {
            // XXX, use key of first item to update new added (let React to move exsiting
            // instead of remove and mount). Same key was used before for both a) external
            // manual control and b) internal react 'key' prop , which is not that good.
            notice.updateKey = updatedNotices[0].updateKey || updatedNotices[0].key;
            updatedNotices.shift();
          }
          updatedNotices.push(notice);
        }
        return {
          notices: updatedNotices
        };
      });
    },
    remove: function remove(key) {
      this.setState(function (previousState) {
        return {
          notices: previousState.notices.filter(function (notice) {
            return notice.key !== key;
          })
        };
      });
    }
  },

  render: function render(h) {
    var _this = this;

    var prefixCls = this.prefixCls,
        notices = this.notices,
        remove = this.remove,
        getTransitionName = this.getTransitionName;

    var transitionProps = Object(getTransitionProps["a" /* default */])(getTransitionName());
    var noticeNodes = notices.map(function (notice, index) {
      var update = Boolean(index === notices.length - 1 && notice.updateKey);
      var key = notice.updateKey ? notice.updateKey : notice.key;

      var content = notice.content,
          duration = notice.duration,
          closable = notice.closable,
          onClose = notice.onClose,
          style = notice.style,
          className = notice['class'];

      var close = createChainedFunction(remove.bind(_this, notice.key), onClose);
      var noticeProps = {
        props: {
          prefixCls: prefixCls,
          duration: duration,
          closable: closable,
          update: update,
          closeIcon: Object(props_util["f" /* getComponentFromProp */])(_this, 'closeIcon')
        },
        on: {
          close: close,
          click: notice.onClick || Notification_noop
        },
        style: style,
        'class': className,
        key: key
      };
      return h(
        Notice,
        noticeProps,
        [typeof content === 'function' ? content(h) : content]
      );
    });
    var className = defineProperty_default()({}, prefixCls, 1);
    var style = Object(props_util["p" /* getStyle */])(this);
    return h(
      'div',
      {
        'class': className,
        style: style || {
          top: '65px',
          left: '50%'
        }
      },
      [h(
        'transition-group',
        transitionProps,
        [noticeNodes]
      )]
    );
  }
};

Notification.newInstance = function newNotificationInstance(properties, callback) {
  var _ref = properties || {},
      getContainer = _ref.getContainer,
      style = _ref.style,
      className = _ref['class'],
      props = objectWithoutProperties_default()(_ref, ['getContainer', 'style', 'class']);

  var div = document.createElement('div');
  if (getContainer) {
    var root = getContainer();
    root.appendChild(div);
  } else {
    document.body.appendChild(div);
  }
  var V = base["a" /* default */].Vue || vue_esm["default"];
  new V({
    el: div,
    mounted: function mounted() {
      var self = this;
      this.$nextTick(function () {
        callback({
          notice: function notice(noticeProps) {
            self.$refs.notification.add(noticeProps);
          },
          removeNotice: function removeNotice(key) {
            self.$refs.notification.remove(key);
          },

          component: self,
          destroy: function destroy() {
            self.$destroy();
            self.$el.parentNode.removeChild(self.$el);
          }
        });
      });
    },
    render: function render() {
      var h = arguments[0];

      var p = {
        props: props,
        ref: 'notification',
        style: style,
        'class': className
      };
      return h(Notification, p);
    }
  });
};

/* harmony default export */ var vc_notification_Notification = (Notification);
// CONCATENATED MODULE: ./node_modules/ant-design-vue/es/vc-notification/index.js
// based on rc-notification 3.3.1

/* harmony default export */ var vc_notification = (vc_notification_Notification);
// EXTERNAL MODULE: ./node_modules/ant-design-vue/es/icon/index.js + 5 modules
var icon = __webpack_require__("0c63");

// CONCATENATED MODULE: ./node_modules/ant-design-vue/es/message/index.js




var defaultDuration = 3;
var defaultTop = void 0;
var messageInstance = void 0;
var message_key = 1;
var message_prefixCls = 'ant-message';
var transitionName = 'move-up';
var message_getContainer = function getContainer() {
  return document.body;
};
var maxCount = void 0;

function getMessageInstance(callback) {
  if (messageInstance) {
    callback(messageInstance);
    return;
  }
  vc_notification.newInstance({
    prefixCls: message_prefixCls,
    transitionName: transitionName,
    style: { top: defaultTop }, // 覆盖原来的样式
    getContainer: message_getContainer,
    maxCount: maxCount
  }, function (instance) {
    if (messageInstance) {
      callback(messageInstance);
      return;
    }
    messageInstance = instance;
    callback(instance);
  });
}

// type NoticeType = 'info' | 'success' | 'error' | 'warning' | 'loading';

function message_notice(args) {
  var duration = args.duration !== undefined ? args.duration : defaultDuration;
  var iconType = {
    info: 'info-circle',
    success: 'check-circle',
    error: 'close-circle',
    warning: 'exclamation-circle',
    loading: 'loading'
  }[args.type];

  var target = args.key || message_key++;
  var closePromise = new Promise(function (resolve) {
    var callback = function callback() {
      if (typeof args.onClose === 'function') {
        args.onClose();
      }
      return resolve(true);
    };
    getMessageInstance(function (instance) {
      instance.notice({
        key: target,
        duration: duration,
        style: {},
        content: function content(h) {
          var iconNode = h(icon["a" /* default */], {
            attrs: { type: iconType, theme: iconType === 'loading' ? 'outlined' : 'filled' }
          });
          var switchIconNode = iconType ? iconNode : '';
          return h(
            'div',
            {
              'class': message_prefixCls + '-custom-content' + (args.type ? ' ' + message_prefixCls + '-' + args.type : '')
            },
            [args.icon ? typeof args.icon === 'function' ? args.icon(h) : args.icon : switchIconNode, h('span', [typeof args.content === 'function' ? args.content(h) : args.content])]
          );
        },
        onClose: callback
      });
    });
  });
  var result = function result() {
    if (messageInstance) {
      messageInstance.removeNotice(target);
    }
  };
  result.then = function (filled, rejected) {
    return closePromise.then(filled, rejected);
  };
  result.promise = closePromise;
  return result;
}

// type ConfigContent = React.ReactNode | string;
// type ConfigDuration = number | (() => void);
// export type ConfigOnClose = () => void;

function isArgsProps(content) {
  return Object.prototype.toString.call(content) === '[object Object]' && !!content.content;
}

// export interface ConfigOptions {
//   top?: number;
//   duration?: number;
//   prefixCls?: string;
//   getContainer?: () => HTMLElement;
//   transitionName?: string;
// }

var api = {
  open: message_notice,
  config: function config(options) {
    if (options.top !== undefined) {
      defaultTop = options.top;
      messageInstance = null; // delete messageInstance for new defaultTop
    }
    if (options.duration !== undefined) {
      defaultDuration = options.duration;
    }
    if (options.prefixCls !== undefined) {
      message_prefixCls = options.prefixCls;
    }
    if (options.getContainer !== undefined) {
      message_getContainer = options.getContainer;
    }
    if (options.transitionName !== undefined) {
      transitionName = options.transitionName;
      messageInstance = null; // delete messageInstance for new transitionName
    }
    if (options.maxCount !== undefined) {
      maxCount = options.maxCount;
      messageInstance = null;
    }
  },
  destroy: function destroy() {
    if (messageInstance) {
      messageInstance.destroy();
      messageInstance = null;
    }
  }
};

['success', 'info', 'warning', 'error', 'loading'].forEach(function (type) {
  api[type] = function (content, duration, onClose) {
    if (isArgsProps(content)) {
      return api.open(extends_default()({}, content, { type: type }));
    }
    if (typeof duration === 'function') {
      onClose = duration;
      duration = undefined;
    }
    return api.open({ content: content, duration: duration, type: type, onClose: onClose });
  };
});

api.warn = api.warning;

/* harmony default export */ var message = __webpack_exports__["a"] = (api);

/***/ }),

/***/ "ff53":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* unused harmony export strip */
/* unused harmony export digitLength */
/* unused harmony export float2Fixed */
/* unused harmony export times */
/* unused harmony export plus */
/* unused harmony export minus */
/* unused harmony export divide */
/* unused harmony export round */
/* unused harmony export financialAmountFormat */
/* unused harmony export bankAccountFormat */
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("99af");
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("fb6a");
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("a9e3");
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var core_js_modules_es_number_max_safe_integer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("aff5");
/* harmony import */ var core_js_modules_es_number_max_safe_integer_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_max_safe_integer_js__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var core_js_modules_es_number_min_safe_integer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("e6e1");
/* harmony import */ var core_js_modules_es_number_min_safe_integer_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_min_safe_integer_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("d3b7");
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("ac1f");
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("00b4");
/* harmony import */ var core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_test_js__WEBPACK_IMPORTED_MODULE_7__);
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("25f0");
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("5319");
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_9__);
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("1276");
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_10__);











/**
 * @file 解决浮动运算问题，避免小数点后产生多位数和计算精度损失。
 * 问题示例：2.3 + 2.4 = 4.699999999999999，1.0 - 0.9 = 0.09999999999999998
 */
/**
 * 把错误的数据转正
 * strip(0.09999999999999998)=0.1
 */
function strip(num, precision) {
  if (precision === void 0) {
    precision = 12;
  }
  return +parseFloat(num.toPrecision(precision));
}
/**
 * Return digits length of a number
 * @param {*number} num Input number
 */
function digitLength(num) {
  // Get digit length of e
  var eSplit = num.toString().split(/[eE]/);
  var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);
  return len > 0 ? len : 0;
}
/**
 * 把小数转成整数，支持科学计数法。如果是小数则放大成整数
 * @param {*number} num 输入数
 */
function float2Fixed(num) {
  if (num.toString().indexOf('e') === -1) {
    return Number(num.toString().replace('.', ''));
  }
  var dLen = digitLength(num);
  return dLen > 0 ? num * Math.pow(10, dLen) : num;
}
/**
 * 检测数字是否越界，如果越界给出提示
 * @param {*number} num 输入数
 */
function checkBoundary(num) {
  if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {
    console.warn(num + ' is beyond boundary when transfer to integer, the results may not be accurate');
  }
}
/**
 * 精确乘法
 */
function times(num1, num2) {
  var others = [];
  for (var _i = 2; _i < arguments.length; _i++) {
    others[_i - 2] = arguments[_i];
  }
  if (others.length > 0) {
    return times.apply(void 0, [times(num1, num2), others[0]].concat(others.slice(1)));
  }
  var num1Changed = float2Fixed(num1);
  var num2Changed = float2Fixed(num2);
  var baseNum = digitLength(num1) + digitLength(num2);
  var leftValue = num1Changed * num2Changed;
  checkBoundary(leftValue);
  return leftValue / Math.pow(10, baseNum);
}
/**
 * 精确加法
 */
function plus(num1, num2) {
  num1 = isNaN(num1) ? 0 : num1 || 0;
  num2 = isNaN(num2) ? 0 : num2 || 0;
  var others = [];
  for (var _i = 2; _i < arguments.length; _i++) {
    others[_i - 2] = arguments[_i];
  }
  if (others.length > 0) {
    return plus.apply(void 0, [plus(num1, num2), others[0]].concat(others.slice(1)));
  }
  var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;
}
/**
 * 精确减法
 */
function minus(num1, num2) {
  var others = [];
  for (var _i = 2; _i < arguments.length; _i++) {
    others[_i - 2] = arguments[_i];
  }
  if (others.length > 0) {
    return minus.apply(void 0, [minus(num1, num2), others[0]].concat(others.slice(1)));
  }
  var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;
}
/**
 * 精确除法
 */
function divide(num1, num2) {
  var others = [];
  for (var _i = 2; _i < arguments.length; _i++) {
    others[_i - 2] = arguments[_i];
  }
  if (others.length > 0) {
    return divide.apply(void 0, [divide(num1, num2), others[0]].concat(others.slice(1)));
  }
  var num1Changed = float2Fixed(num1);
  var num2Changed = float2Fixed(num2);
  checkBoundary(num1Changed);
  checkBoundary(num2Changed);
  return times(num1Changed / num2Changed, Math.pow(10, digitLength(num2) - digitLength(num1)));
}
/**
 * 四舍五入
 */
function round(num, ratio) {
  var base = Math.pow(10, ratio);
  return divide(Math.round(times(num, base)), base);
}
/**
 *  财务金额格式化
 **/
function financialAmountFormat(num) {
  var addTail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  if (!num) return '0.00';
  if (isNaN(num)) return num;
  var numstr = Number(String(num).replace(/,/g, '')).toLocaleString();
  var tail = '';
  if (addTail) {
    if (!/\./.test(numstr)) {
      tail = '.00';
    } else if (/\.\d$/.test(numstr)) {
      tail = '0';
    }
  }
  return numstr + tail;
}
/**
 *  银行卡号格式化
 * */
function bankAccountFormat(bankAccount) {
  return bankAccount.replace(/\s/g, '').replace(/(.{4})/g, '$1 ');
}
var index = {
  strip: strip,
  plus: plus,
  minus: minus,
  times: times,
  divide: divide,
  round: round,
  digitLength: digitLength,
  float2Fixed: float2Fixed,
  financialAmountFormat: financialAmountFormat,
  bankAccountFormat: bankAccountFormat
};
/* harmony default export */ __webpack_exports__["a"] = (index);

/***/ })

}]);
}).bind(window.__WUJIE.proxy)(
  window.__WUJIE.proxy,
  window.__WUJIE.proxy,
  window.__WUJIE.proxy,
  window.__WUJIE.proxyLocation,
);